Hey peeps!
I made a boo-boo with a client's site
.
Basically, it's a PHP site that makes use of content switch coding which seemingly calls content from another page.
I accidentally removed the 'head' script, saved it and uploaded it, replacing the original index.php. Now the links and content calling is busted for good.
This is what information I CAN provide you with though: In the index.php it calls the content with this:
When going to "file-with-content.php" source code, it has
in the head section of "file-with-content.php"
I need to know, what would the 'original' header code could be for index.php which I deleted? What do you call it? What do I do to fix this?
I can remember that it also contained meta switch tags.
I made a boo-boo with a client's site
Basically, it's a PHP site that makes use of content switch coding which seemingly calls content from another page.
I accidentally removed the 'head' script, saved it and uploaded it, replacing the original index.php. Now the links and content calling is busted for good.
This is what information I CAN provide you with though: In the index.php it calls the content with this:
Code:
<? include("file-with-content.php"); ?>
When going to "file-with-content.php" source code, it has
Code:
<? switch($content){
case "home":?>
I need to know, what would the 'original' header code could be for index.php which I deleted? What do you call it? What do I do to fix this?
I can remember that it also contained meta switch tags.
Last edited: