Re: [PHP] PHP and HTTPS POSTs

2004-04-01 Thread William Lovaton
Well, I remember I did a project for a company and in my development
machine I didn't configured HTTPS but the production environtment use
HTTPS... I never heard anything wrong about it and the application had
some huge forms.  By then I was using PHP 4.0.6 and then PHP 4.1.X.

Try this:

Send an HTTP POST request to the server and in the PHP code put this:

print pre_REQUEST:\n;
print_r($_REQUEST);
print _POST:\n;
print_r($_POST);
print /pre;

If you use a web form with the POST method both arrays should be the
same.

BTW, what version of web server and PHP are you using??


-William


El mi? 31-03-2004 a las 23:14, Chris Streeter escribió:
 Has anyone had any problems with the $_POST super global not working in a
 HTTPS environment?
 
 My code works perfectly fine through a unsecured HTTP POST but when I do an
 HTTPS POST it only handles a few variable (I think 15 or 16). Any more than
 that and it looses all the $_POSTed variables.
 
 Has anyone seen this and more importantly know the fix for the problem?
 
 Thank you.
 
 Chris

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



Re: [PHP] PHP and HTTPS POSTs

2004-04-01 Thread Jack Baty

Has anyone had any problems with the $_POST super global not working in a
HTTPS environment?
My code works perfectly fine through a unsecured HTTP POST but when I do an
HTTPS POST it only handles a few variable (I think 15 or 16). Any more than
that and it looses all the $_POSTed variables.
Has anyone seen this and more importantly know the fix for the problem?
May or may not be the same, but I certainly wasted a couple days this 
week tracking down similar problems. Turns out it was an IE bug when 
using Apache/mod_ssl. There's a fix listed on the mod_ssl site - I just 
added the following to an .htaccess file or the apache configuration file...

SetEnvIf User-Agent .MSIE.
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
--
Jack Baty
Fusionary Media - http://fusionary.com/
Weblog - http://jackbaty.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP and HTTPS POSTs

2004-03-31 Thread Chris Streeter
Has anyone had any problems with the $_POST super global not working in a
HTTPS environment?

My code works perfectly fine through a unsecured HTTP POST but when I do an
HTTPS POST it only handles a few variable (I think 15 or 16). Any more than
that and it looses all the $_POSTed variables.

Has anyone seen this and more importantly know the fix for the problem?

Thank you.

Chris

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