One day a man went to a dealer to buy a car. He bought a chevy corvette crossfire for $29,000. When the man was getting back home he tried to start the radio. But it didn’t worked. So he get back to the dealer and got busted for that. Then the dealer said the radio … [Read more…]
A first-grade teacher was having trouble with one of her students. Teacher: What is your problem? Boy: I’m too smart for the first-grade. My sister is in the third-grade and I’m smarter than she is. I think I should be in the third-grade too. The teacher took the boy to the principal’s office. While the … [Read more…]
Write To A File From PHP you are able to open up a file on your server and write to it. If the file does not exist we can create it, however if the file already exists you must chmod it to 777 so it will be writable. When writing to a file, the first … [Read more…]
Reading File Data If you have written data to a file from PHP, or you have a file on your server you need to read with PHP, there are quite a few ways you can do it. The four ways we will cover here are fread (), fgets (), file (), and file_get_contents(). The one … [Read more…]
Some tips of file uploads With PHP Safer. When you allow an users to upload files to your website, you are putting yourself at a security risk Check the referrer: Check to make sure that the information being sent to your script is from your website and not an outside source. While this information can … [Read more…]
Hello! me S.M. Saidur Rahman. This is my first write to this site. Welcome everybody for view and write comments against my write. Within few days i will come with this site in different role. Thanks all!