Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: starkey20020930

Message # 1013638:
Date: 10/03/02 11:08
By: Adam Profile
Subject: RE: unable to write file.

Thanks, setting the file permissions in XP worked. I didn't realise I had to.

I was able to use this function to write to a log file, without setting any file permissions:

function writeToLogFile($str,$log_file) {
if($fd = @fopen($log_file, "a")) {
fputs($fd, $str);
fclose($fd);
}
}

Strange. I wonder why that is

anyway, thank you.

Previous Message | Next Message


Comments:
unable to write to a logger without refreshinlavanya02/17/05 07:05
And now the description is wrong.Sex Beplaced Ru 12/05/04 04:25
Carlos Carlos10/27/02 14:13
RE: waste of timeDarren Casey10/18/02 17:51
RE: waste of timeVincent10/12/02 11:25
RE: waste of timeBDKR10/10/02 10:22
RE: waste of timeSteve10/10/02 10:10
Great!BDKR10/09/02 14:26
How about syslog?Kurt10/08/02 01:44
waste of timeJonathan10/07/02 13:41
RE: unable to write file.Adam10/03/02 11:08
RE: unable to write file.Jason10/02/02 08:56
RE: unable to write file.Jeremy Hilton10/02/02 03:28
unable to write file.Adam10/01/02 13:15
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.