Forum help and support
File handling in PHP
Page 1 of 1
- #1 by daveandmeg-jackson
-
Hi, I'm trying to run a PHP script that does some file handling. Basically I want to record some data in a text file when the containing page is used. Initially I tried creating the file as part of the script (if it didn't exist) but kept getting file open errors. If I created a file using the FTP client and set permissions so that anyone could write to it then the script could open the file for output. The script then tried to lock the file but kept failing. If I run the script without trying to lock I can write data but this isn't what I really want to do.
So: why can't I create a file in the script?
Why can't I lock the file when it does exist? - Posted on Thursday, 3rd July 2008 at 3:15pm
- #2 by admin
- We are looking in to this matter and will post the reply as soon as possible.
- Posted on Monday, 7th July 2008 at 9:09am
First | Prev | 1 | Next | Last
Displaying posts 1 - 2 of 2
Latest News
Intel to be investigated
The world's biggest computer chip-maker, is under investigation by New York Attorney General Andrew Cuomo as it has allegedly broken anti-trust laws. Claims have been made that Intel stopped customers from dealing with rival Advanced Micro Devices (AMD).
Free Hosting Trial
26/01/07 – Supanet Hosting are pleased to announce a free 90-day web hosting trial. Everyone who signs up to the no obligation trial also stands a chance of winning a 32" LCD TV.
Shoppers avoid companies targeted by hackers
17/04/07 – Companies that have been targeted by hackers and had credit card information stolen are being shunned by consumers. A survey has indicated that customers avoid shops or firms that have been victims of hackers.

