Hey there, folks...
I'm writing a login script. If all goes well, it registers two session variables and then calls itself again. Here's the problem: I don't know how to make the script call itself.
Is there a command that will tell a script to exit and re-run itself?
Thanks,
-Nij
Recursive scripts
Moderator: General Moderators
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
use output buffering, a header to kill the cache, and a header to redirect the page
http://www.php.net/header
http://www.php.net/ob_start
http://www.php.net/header
http://www.php.net/ob_start