Re: php is not working with submit button
| From: | Terry Cheung | Date: | Mon, 08 Jul 2002 17:28:18 +0000 |
| Subject: | Re: php is not working with submit button | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106132@lists.php.net to get a copy of this message | ||
It works, really Thanks a lot to you all!! I will try to modify all my
script.
"Philip Olson" <philip@cornado.com>
???????:Pine.BSF.4.10.10207081650000.22459-100000@localhost...
> This is an issue of the register_globals directive, the
> default went from off to on as of PHP 4.2.0 Either
> change your coding style or turn it back on.
>
> <input type="text" name="foo">
> print $_POST['foo'];
>
> $foo will exist if register_globals = on. Search archives,
> google, the manual, etc. for this topic, it's been
> discussed a lot lately :)
>
> Regards,
> Philip Olson
>
> On Mon, 8 Jul 2002, Terry Cheung wrote:
>
> > Hi,
> >
> > I have just downloaded the latest source of apache, php, mod_ssl
and
> > mysql to build them all together. It can show the php page and can
connect
> > to the mysql database, the only problem is all the php pages seem likes
do
> > not response to the submit button, it just direct back to the same page
and
> > cannot get the data pass to the php script. I have tried the "get " and
> > "post" method. It works with my older version of apache with php and
also I
> > can submit data in the cgi-bin using the new apache. May anyone please
help
> > me? Thanks in advance.
> >
> > Terry
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>