Re: Whats the "php" way of redirecting to a new .php file please?

From: Date: Mon, 28 Aug 2000 18:13:37 +0000
Subject: Re: Whats the "php" way of redirecting to a new .php file please?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-13979@lists.php.net to get a copy of this message
If you run a database-driven app, where you pass the username/password variables via session handling, your header functions won't work. The non-working example is below: <? include ("ocilogon.php"); // this calls up the username/pw and logs into oracle to authenticate user if ($thevalue == "Go") { header("Location: http://domain/page"); } ?> If there is a way around *this* kind of situation, great. Please share it! :) Julie Meloni wrote: > > Burn this into your brain: > DO NOT PUT ANY OUTPUT BEFORE THIS FUNCTION! -- Paul Fernandez Webmaster Structural GenomiX, Inc.

« previous php.general (#13979) next »