Hi,
I have an issue I need to resolve in the most efficient manner possible. I've tried a variety of ways and I am hoping someone out there can help a lost soul.
Here's the issue:
I have a book. I want to be able to edit the page online. So in my book directory I have page1.php. In page1.php I have the $page1 variable that contains all of the text for the first page. I created a php-based web site that will enable me to edit the pages individually ($page1 appears in a large textarea). When I submit the form, I want to give $page1, in page1.php, the new value just submitted.
I've looked at a variety of solutions (fopen, fwrite, unlink, chmod, etc...) and I can't find one that'll work. Can someone please throw me a bone on this one. Gracias.