Are you on a Windows platform, or *nix. I would assume *nix since you mentioned chmod.
what did you chmod the file to? who owns the file? and what user does PHP run as (maybe nobody, or httpd)? Just to get it to work chmod the file to 777, BUT this is a security risk. MAKE SURE this file is NOT in the web folder (or any of it's subfolders). Remember to write to a file PHP (the user nobody or httpd) also needs Read and eXecute permisions on all the directories from the root all the way to the directory contaning the file. <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Newbie question: > > I try to modify a txt-file but get "not writable" error. > (just like in http://www.php.net/manual/en/function.fwrite.php ) > > I've tried to change the chmode but now I need some help. > > All info welcome! Thanks in advance! > > Paul Dunkel > -- > [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php