Page 1 of 1

newbie fput() question

Posted: Tue Dec 10, 2002 6:52 am
by Coco
is it possible to read and amend php files with the fget/fput etc commands?

and also what affect would this have if i was writing to a file at the same time as the server was reading it?

thanks for any help...

Posted: Tue Dec 10, 2002 8:56 am
by hedge
Self-modifying code... interesting (reminds me of assembler). If would think you would be ok on a *nix system but I believe the file would be locked on a windows system.

Probably easier to give it a try and see.