newbie fput() question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

newbie fput() question

Post 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...
hedge
Forum Contributor
Posts: 234
Joined: Fri Aug 30, 2002 10:19 am
Location: Calgary, AB, Canada

Post 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.
Post Reply