Hello,
Is there a way for me to tell my php script to start over? I want to have
an if then statement to check if something is done. Then if it isn't I want
the php script to start over.
Thank you,
Brandon Orther
WebIntellects Design/Development
Is there a way for me to tell my php script to start over? I
want to have an if then statement to check if something is
done. Then if it isn't I want the php script to start over.
header( "location: $PHP_SELF" );
OR
header( "location: $REQUEST_URI" );
if you are using a query string/GET
header()
?php
if ($done)
...
else
{
header("Location: http://$SERVER_NAME/$PHP_SELF");
exit();
}
?
i your using sessions without coookies.
header("Location: http://$SERVER_NAME/$PHP_SELF?PHPSESSID=$PHPSESSID");
--
3 matches
Mail list logo