Re: Passing variables

From: Date: Tue, 09 Jul 2002 09:01:27 +0000
Subject: Re: Passing variables
Groups: php.general 
Request: Send a blank email to php-general+get-106316@lists.php.net to get a copy of this message
>After reading Kevin Yank's "Managing Users ..." at www.sitepoint.com, I >tried the following 2 scripts. Unfortunately, the variable $course is NOT >being passed to the 2nd script. Thus, per the script, the Home page is >displayed. Why? In addition to needing session_start() in page 2, you simply cannot reliably use session_start() which sends a Cookie and a Location: to the browser. You're going to have to send your data as GET data, or not do all those header("Location: ...") calls, and just combine the three scripts into one. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#106316) next »