[PHP] Start you php script over??

2001-03-05 Thread Brandon Orther
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

RE: [PHP] Start you php script over??

2001-03-05 Thread Boget, Chris
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

Re: [PHP] Start you php script over??

2001-03-05 Thread Chris Lee
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"); --