Re: Start you php script over??
| From: | Chris Lee | Date: | Mon, 05 Mar 2001 15:44:53 +0000 |
| Subject: | Re: Start you php script over?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42644@lists.php.net to get a copy of this message | ||
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
lee@mediawaveonline.com
""Brandon Orther"" <brandon@webintellects.com> wrote in message news:CKEMJEADMOCEHPHJKLPAKEEMCJAA.brandon@webintellects.com...
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
brandon@webintellects.com
800-994-6364
www.webintellects.com
--------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net