Re: Pages refresh on submission on RedHat Server - POST problem
| From: | Arijit Chaudhuri | Date: | Thu, 06 Mar 2003 20:06:11 +0000 |
| Subject: | Re: Pages refresh on submission on RedHat Server - POST problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138511@lists.php.net to get a copy of this message | ||
> You wouldn't by chance be using $PHP_SELF as the action field of the form?
I am - though not by using $PHP_SELF but using the same file name in
action - holds for all my files. Any way to get around it? Have not got this
problem on any other server earlier.
Thanks,
Arijit
"Kevin Stone" <kevin@helpelf.com> wrote in message
news:037e01c2e40d$022bfc20$6500a8c0@kevin...
> You wouldn't by chance be using $PHP_SELF as the action field of the form?
> - Kevin
>
> ----- Original Message -----
> From: "Arijit Chaudhuri" <artisans@giascl01.vsnl.net.in>
> To: <php-general@lists.php.net>
> Sent: Thursday, March 06, 2003 10:56 AM
> Subject: [PHP] Pages refresh on submission on RedHat Server - POST problem
>
>
> > Its a rather strange thing. I tested all my pages on my Win2000-Apache
> > configuration and uploaded them to my clients RedHat server. There, on
> > submission, all pages just refresh themselves. All my forms are set to
> > submit to the same page and I check in the beginning for the submit
button
> > variable. If its set, the form data is processed - else its assumed that
> its
> > the first time that the page is being viewed.
> >
> > I loaded the pages on another RedHat server and all pages work perfectly
> > there.
> >
> > I experimented a bit and found that if I change the action of forms to
> GET,
> > they work. But with passwords and file uploads, I cant do that for all
> > pages.
> >
> > Have tried $HTTP_POST_VARS also - doesnt work.
> >
> > Any idea of what could be the problem? If the submit button is named
> > "submit_login", I am checking as follows:
> > if ($submit_login <> "")
> > to see if the form has been submitted. Hve tried isset also.
> >
> > Thanks,
> > Arijit
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>