fwrite to middle of file (Maybe or an alternative?)
Posted: Fri Apr 09, 2004 11:08 pm
Hi,
I need to fwrite() to a file but keep everything that's written sandwiched between php tags.
I'm guessing it can't be difficult to do.
There may be another way to do what i want anyway. The stuff I'm writing is the elements of an array which I will do things with by including it with include() in another script. So can I somehow just have the page that's written to without php tags and let the other page read it as php anyway?
Thanks
I need to fwrite() to a file but keep everything that's written sandwiched between php tags.
I'm guessing it can't be difficult to do.
There may be another way to do what i want anyway. The stuff I'm writing is the elements of an array which I will do things with by including it with include() in another script. So can I somehow just have the page that's written to without php tags and let the other page read it as php anyway?
Thanks