PHP editing PHP files --- Please help my live site is down.
Posted: Mon Feb 04, 2008 3:00 pm
Hello,
My live site is down because my ISP decided last night to move to a new server locationa and all of my requires/includes are not pointed to the correct file. I have like 250 PHP files with the includes/requires in them. Is there a way for my to have PHP run and edit any filetype I want (so an array of like ".htm", ".html", ".php") and replace the require/include beginning?
It needs to change from /home/[site]/ to /home/users/[myusername]/[site]/
Thanks!
Chris
My live site is down because my ISP decided last night to move to a new server locationa and all of my requires/includes are not pointed to the correct file. I have like 250 PHP files with the includes/requires in them. Is there a way for my to have PHP run and edit any filetype I want (so an array of like ".htm", ".html", ".php") and replace the require/include beginning?
It needs to change from /home/[site]/ to /home/users/[myusername]/[site]/
Thanks!
Chris