Difficulties...
I have been trying to get a site I recently converted from Coldfusion to PHP to catch all of artifacts from the old site.
I have the following bit of code:
The old get variable was section, which I have changed to page_id. I am trying to get it to redirect to the index and all I get is "No input file specified." I am not even sure where that error is coming from.
Any ideas?
EDIT: WTF?
I copied everythning to a dev directory to work on, and it works. On top of that, the live version works.
I am losing my mind.
I have the following bit of code:
if ($_GET['section']) {
header("Location: http://www.theperfectnanny.com/store"); /* Redirect browser */
exit;
}
if (!is_numeric($_GET['page_id'])){
header("Location: http://www.theperfectnanny.com/store"); /* Redirect browser */
exit;
}
else {
$page_id = $_GET['page_id'];
}
The old get variable was section, which I have changed to page_id. I am trying to get it to redirect to the index and all I get is "No input file specified." I am not even sure where that error is coming from.
Any ideas?
EDIT: WTF?
I copied everythning to a dev directory to work on, and it works. On top of that, the live version works.
I am losing my mind.
