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");
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
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 Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com
--------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]