file editing
Date: 06/22/06
(PHP Community) Keywords: php, html
Is there a simple way (or is there code out there now) that can allow me to edit a (local) html page? I have a file upload page working, but I now want to be able to update links on a separate page that is on the same server (same folder) so that there is a link to the file.
I once did this on python but that box died a horrible death a year or two ago and naturally I do not have any backups). I was able to open a file, look for a specific string like <###REPLACEME###> and then stick what I needed in front of it. Can this be done in php?
Source: http://community.livejournal.com/php/463063.html