[PHP] Re: POST form variables not being sent to destination page

2002-09-09 Thread Howard Roscoe

Hi Erwin,

Thanks for the reply but it turned out to be a slightly odd installation
bug.

On the PHP Bug board, I managed to find that it was to do with the Apache
configuration settings, namely, you should put

  AddType application/x-httpd-php .php .php3

instead of;


  SetOutputFilter PHP


in the httpd.conf file.

This took ages to find and was only posted within that last few days on the
PHP bug board, hope it helps you with your elusive first POST variable.

Thanks for you help though,
Regards
Howard


"Erwin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've got an html form but when I use the POST method the form
> > variables don't make it to the destination page, when I use the GET
> > method, there's no problem.  I've uploaded the test pages to our web
> > servers and the POST and GET methods both work fine, therefore I'm
> > assuming it's a problem with my installation, which is;
> > The test PHP is;
> >
> > Form Page:
> >
> > 
> > 
> > Untitled Document
> >  
> >
> > 
> > 
> > 
> > 
> > 
>
> Try adding another . We've had a problem where we
*always*
> lost the first POST variable.
>
> Grtz Erwin
>
>



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




[PHP] POST form variables not being sent to destination page

2002-09-09 Thread Howard Roscoe

Hi all,

I'm assuming this is an installation error, hence the posting to this group.

I've got an html form but when I use the POST method the form variables
don't make it to the destination page, when I use the GET method, there's no
problem.  I've uploaded the test pages to our web servers and the POST and
GET methods both work fine, therefore I'm assuming it's a problem with my
installation, which is;

PHP 4.2.2
Apache 2.0.40 on Windows XP Pro with as many MS patches as I can find
!!.

I've tried this with and without the register_globals, I've also tried
setting the "always_populate_raw_post_data" to on by way of a stab in the
dark.

The only thing I can think of is something to do with the Apache
configuration, but I can't find anythnin in there re this.

The test PHP is;

Form Page:



Untitled Document














Target Page:



Untitled Document


";
 echo "GET :".$_GET["aa"]."";

?>






Any help / pointers will be much appreciated as this is starting to drive me
nuts.

Thanks,
Howard






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