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

[PHP] Re: sending variables

2001-02-20 Thread Ifrim Sorin
In test1.php you shoul have Sorin Ifrim Rosen <[EMAIL PROTECTED]> wrote in message 96tdvp$oo7$[EMAIL PROTECTED]">news:96tdvp$oo7$[EMAIL PROTECTED]... > Hi, > I have two simple php files: > > main.php: > LIST > > test1.php: > > > > > > But this doesn't work ! > > please HELP ! > > > > Rsen Mar