Try simply changing '$HTTP_GET_VARS' to '$_GET'. so..
$start = isset($_GET['s']) ? $_GET['s'] : ''; -- Uchendu Nwachukwu newsreply AT unndunn DOT com - www.unndunn.com "Jeff Lewis" <[EMAIL PROTECTED]> wrote in message 00b101c1ecaf$2f429850$0100a8c0@cr983033a">news:00b101c1ecaf$2f429850$0100a8c0@cr983033a... > Excuse me, you're right. I was using this include as a "preprocess" step as > I was using ; to seperate arguments in the query string like this > index.php?s=something;t=thing > > The preprocess step was breaking them apart and then I was doing this: > > $start = isset($HTTP_GET_VARS['s']) ? $HTTP_GET_VARS['s'] : ''; > > Then back in index I did a if ($start == "somevalue") > > However, with 4.2, the $start is no longer populated. > > If I add an echo $start; right after the include, in 4.1.2 and below, it > would echo the value of $start but now it keeps turning up empty. > > Jeff > ----- Original Message ----- > From: "John Holmes" <[EMAIL PROTECTED]> > To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, April 25, 2002 10:13 PM > Subject: RE: [PHP] 4.2 new GLOBALS question > > > > > I am working on an odler script which loads up in index.php and a URL > > is > > > passed usually like index.php?s=something > > > > > > Now, around line 10 of index.php I do an include that pulls the value > > of s > > > via HTTP_POST_VARS and then I dump it into $start. > > > > What do you mean you "dump it into $start"?? Where is $start coming > > from? Also, if you are using index.php?s=something, then 's' will be in > > HTTP_GET_VARS or _GET ...not POST. > > > > ---John Holmes... > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php