Re: [PHP] Re: sending variables

2001-02-20 Thread Simon Garner
From: "Ifrim Sorin" <[EMAIL PROTECTED]> > In test1.php you shoul have > > $qry=getenv("QUERY_STRING"); > $rosen=substr($qry,6); > print("$rosen"); > ?> > > Sorin Ifrim wtf? Most certainly do NOT do it like that. That's a ridiculous kludge. Rosen, when you say "it doesn't work" w

Re: [PHP] Re: sending variables

2001-02-20 Thread Ben Peter
No, PHP makes get variables available in $HTTP_GET_VARS. Thus, Rosen can access his variable as $HTTP_GET_VARS['rosen']. If register_globals is true, the variable is also available in the global scope as $rosen (as in Rosen's example). If this does not work, it would seem that register_globals i