Yup, as Chris said it's register.globals that's the entry in your php.ini
file.

In my php.ini it's on line 200 (without wordwrap), and it will probably look
like:

register_globals = Off  ; Whether or not to register the EGPCS variables as
global

In yours. Change the value to On and you should be all set.

If it's an older version of PHP you also need track_vars enabled, but in
4.0.3 and up it's automatically enabled.


--
Plutarck
Should be working on something...
...but forgot what it was.



""HK Woo"" <[EMAIL PROTECTED]> wrote in message
9aeb6e$ecn$[EMAIL PROTECTED]">news:9aeb6e$ecn$[EMAIL PROTECTED]...
> Hi, Plutarck
>
> Thank You for your help.
>
> I would like to know how to turn on the feature to let PHP to separate the
> variable by GET/POST
>
> Thank You!
>
> HK Woo
> ""Plutarck"" <[EMAIL PROTECTED]> wrote in message
> 9ae7sf$f96$[EMAIL PROTECTED]">news:9ae7sf$f96$[EMAIL PROTECTED]...
> > Try using a print_r($HTTP_GET_VARS) and see what comes up.
> >
> > It could be that PHP has been set not to turn GET/POST variables into
> > seperate values.
> >
> > If so you'll need to use:
> >
> > echo $HTTP_GET_VARS[testing];
> >
> >
> > --
> > Plutarck
> > Should be working on something...
> > ...but forgot what it was.
> >
> >
> >
> > ""HK Woo"" <[EMAIL PROTECTED]> wrote in message
> > 9ae7ba$9n3$[EMAIL PROTECTED]">news:9ae7ba$9n3$[EMAIL PROTECTED]...
> > > Hi,
> > >
> > > I have written a html which contains a form and then I use a "GET"
> method
> > to
> > > pass a variable to PHP program with
> > > http://xxx.xxx.xxx.xxx/test.php?testing=testing. However, I can't get
> the
> > > variable testing by using "echo $testing".
> > >
> > > I don't know what is the problem.
> > >
> > > Thank You!
> > >
> > > HK Woo
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to