Re: Problems with post data
| From: | Frank | Date: | Sun, 30 Mar 2003 20:15:04 +0000 |
| Subject: | Re: Problems with post data | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141653@lists.php.net to get a copy of this message | ||
Does this bug also applies to passing variables in an URL.
I'v noticed that when the directive register_globals is set to off as it is
recommended in the php.ini file no variables are passed on to other pages.
Switching it to on would be the simplest solution, but scripts like
phpMyAdmin do not seem to have these problems.
Any idea or suggestion.
Frank
"John W. Holmes" <holmes072000@charter.net> schreef in bericht
news:001a01c2f60a$db8641b0$7c02a8c0@coconut...
> I bet the web server that works is not running Apache 2, is it? Either
> way, it's an Apache2 and PHP bug. It's in the bug tracker somewhere...
> Use Apache 1.3.27 or whatever the latest is...
>
> ---John W. Holmes...
>
> PHP Architect - A monthly magazine for PHP Professionals. Get your copy
> today. http://www.phparch.com/
>
> > -----Original Message-----
> > From: Mark Douglas [mailto:Mark.Douglas@Q9.com]
> > Sent: Saturday, March 29, 2003 7:57 AM
> > To: 'php-general@lists.php.net'
> > Subject: [PHP] Problems with post data
> >
> > I'm having problems with my post variables. Here's the page I use to
> > submit
> > data:
> >
> > <FORM ACTION="test2.php" METHOD=POST />
> > <INPUT TYPE=text SIZE=50 MAXLENGTH=50 NAME="new_area"
> > /> <INPUT TYPE=SUBMIT VALUE="Add New Skill Area"
> > /><BR
> /><BR />
> > </FORM>
> >
> > Here's the test2.php page:
> >
> > <?php
> > print_r($_POST);
> > ?>
> >
> > This is all very simple, and works on one of my webservers. However,
> on
> > another webserver with a practically identical configuration, if I
> post
> > "testing" the result that I get is this:
> >
> > Array ( [new_area] => testingnew_area=testing )
> >
> > I've spent hours scouring my two configurations, changing options here
> and
> > there, and have had zero success in making the problem webserver work.
> >
> > The server is a dual processor RedHat 8 system running apache 2.0.43,
> and
> > php 4.3.1. You can see the phpinfo at
> > http://inexorable.sagelikefool.net/phpinfo.htm (yes htm,
> > not php). Any
> and
> > all help is appreciated!
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>