Posted by Robertu on 05/19/07 07:02
Hi at all
I have a php page where I display mysql table datas
if the user call the page without one or more parameters I'ld want to
redirect it to another page
Therefore I wrote
if ($REQUEST_METHOD=="POST") {
$HTTP_STR=$HTTP_POST_VARS;
}else{
$HTTP_STR=$HTTP_GET_VARS;
}
while(list($chiave,$valore)=each($HTTP_STR))
{
}
if ($dbf=="")
{header("Location: http://www.pippo.es/");exit()}
But it do not work
Why please?
regards
Navigation:
[Reply to this message]
|