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
Controversial game wins ban appeal
Rockstar, developers of the ultra violent video game Manhunt 2, have won an appeal forcing the British Board of Film Classification (BBFC) to review its ban on the game's release. The BBFC have twice refused to issue the title with a classification, making it impossible for the game to be put on sale in the UK.
Google could face further court woe following Belgian ruling
14/02/07 - A court in Belgium has ruled that Google's news service breaches copyright and this could lead to further rulings against the search engine in Europe. The court ruled that Google News was breaking copyright law by showing excerpts of Belgian news articles.
Fax is dead! Long live Fax2Mail!
07/02/07 - Supanet hosting is offering people the chance to receive a free Fax2Mail account. The service is available to anybody who signs up to the unlimited or professional hosting packages and for a limited time only, as part of the free for 90-day hosting trial.

