Redirect

From: Date: Tue, 20 Aug 2002 06:46:09 +0000
Subject: Redirect
Groups: php.windows 
Request: Send a blank email to php-windows+get-15352@lists.php.net to get a copy of this message
Halo. I need som help with my script. I need to find a way to redirect my script to another file. I start with the login file, which is a html file, and send variables through it to a file I call do_login. This checks if username and password is correct. On the top of this file I have a if statement that checks if the user has writen on the username and password box. If not, they get sent back to the login.html by a header("location:login.html"); Now, if username and password checks out i want to sent them to the start page. The problem is the I already have sent header information and cant use Header() anymore. Can someone tell me an easy way to solve this problem Thanks... ------------------------------------------ Rodrigo San Martin Institutt for datateknologi og informatikk http://www.idi.ntnu.no/~rodrigo

« previous php.windows (#15352) next »