You are right Tiago. When I did the _POST ... it
finally saw it. So where do I find and set
register_globals. In the Apache config files?

 


--- "Tiago N. Sampaio" <[EMAIL PROTECTED]> wrote:
> Whats´s your php version?
> 
> In newer versions of php,  register_globals is off
> by default, or you
> enable it on php.ini
> or you use $_GET["Variable_name"] in your case
> $_GET["TestVar"] (This
> can be $_POST["VAR"])
> 
> Ok...
> test this and say the result...
> 
> 
> Thanks...
> 
> PS: Sorry my poor english...
> 
> Hugs
> Tiago N. Sampaio
> Departamento Internet
> www.planae.com.br
> (14) 224-3066
> Bauru/São Paulo/Brazil
> 
> ----- Original Message -----
> From: "b b" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 20, 2003 5:19 PM
> Subject: [PHP-INST] php and forms
> 
> 
> >
> >  Hi,
> >  This could be a silly mistake or it could be a
> sign
> > of configuratin problems. Simply put, my submitted
> > form variables are not reaching the recieving end:
> >
> >  A form:
> >
> >    <form method=post action="testForm.php">
> >   <input type="text" name="testVar">
> >    <input type="submit" name="submit"
> value="submit">
> >
> > </form>
> >
> >  A recieving file testForm.php:
> >  <html>
> > <body>
> > <?php
> > printf("<br>testVar is : %s", $testVar);
> > ?>
> > </body>
> > </html>
> >
> >
> >  When entering value like testtest in the form
> element
> > I still get the following in the recieving file:
> >
> > testVar is :
> >
> >
> >  i.e. the form variable is not submitted or not
> > recieved. I also tried doing it through the url
> > .../testForm.php?testVar=whatever  and still the
> > testVar is empty.
> >
> >  Is there a configuration problem I should be
> aware of
> > as clearly it is not a code issue?
> >
> >  Thanks,
> > b.
> >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> > http://platinum.yahoo.com
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> >
> >
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to