Hi,
I just ordered one of these "virtual dedicated servers" which included "plesk" as a web based control panel.
I tried to upload a web site that worked with no changes on two other hosts. Unfortunately, the site doesn't work on the new plesk box.
I'm sure this is obvious to most of you, but, my variables appear to be available in HTTP_GET_VARS, but NOT outside the array. So, if I say,
echo HTTP_GET_VARS["submit"]
It prints "submit", but, if I say
echo "submit = $submit";
it prints "submit = ";
Furthermore,
if ( !$submit ) {
echo ("there was no submission!"); // it thinks there's no submission
}
however, right after that, if I do
while ( list( $name, $value ) = each( $HTTP_GET_VARS ) ) {
echo("$name=$value<br>\n");
} //end while
it will reply with
submit = submit
I am NOT inside any functions - so this is not a question of scope.
What gives?