Justin
01-21-2000, 04:10 PM
Unfortunately it does remove the lock. What you might want to do is create a temporary file for use, using a unique name each time. A good way to do this would be via Apache's Unique ID. From PHP, simply use $UNIQUE_ID...
So you could open the original file (if necessary), read in whatever data you need, make whatever changes are needed, then write the file out to the temp file ($fp = fopen ("$UNIQUE_ID.txt", "w")) and use that.
Hope this helps point you in the right direction.
------------------
Justin Nelson
FutureQuest Support
So you could open the original file (if necessary), read in whatever data you need, make whatever changes are needed, then write the file out to the temp file ($fp = fopen ("$UNIQUE_ID.txt", "w")) and use that.
Hope this helps point you in the right direction.
------------------
Justin Nelson
FutureQuest Support