![]() |
Don't had to page ???
Good day to you all,
the following pice of code is for opening a file, and write to it. My problem is that the text is not copied in the file. Here what it should do. This script is in a page which contain a form that post the result to the page. (self-submit) Receive the post $update Create a file named, username-hour-minute-second.txt within today's folder. Save the content of the post in the newly created file. here is the code: PHP Code:
Thanks ! |
Here it is nice and simple. You don't necessarily need to use the
fopen, fwrite and fclose functions as PHP5 packages those nicely into one function for us: |
I'm using php 4
|
I recommend you to use PHP5. Upgrade your php folder to version 5. There are a lots of new things in php 5 that is nonetheless not present in php4.
Just take a look at the example above and you will notice a big difference :) |
| All times are GMT. The time now is 03:13 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0