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!