Re: $_POST suddenly empty; $_GET and _$REQUEST fine
| From: | Alex Kirk | Date: | Thu, 04 Dec 2008 02:14:56 +0000 |
| Subject: | Re: $_POST suddenly empty; $_GET and _$REQUEST fine | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284076@lists.php.net to get a copy of this message | ||
Quoting "Daniel P. Brown" <daniel.brown@parasane.net>:
On Wed, Dec 3, 2008 at 6:03 PM, Alex Kirk <alex@schnarff.com> wrote:It is. In fact, my config is virtually default: [alex@tms /usr/local/etc]$ diff -u php.ini php.ini-distIt works like a charm on a different machine with an essentially identical config (it's a newer version of FreeBSD, but that's about it); however, it never displays the contents of $_POST['testvar'] on the machine that suddenly quit functioning right last night.Check your php.ini and make sure your EGPCS (variables_order) is okay.
--- php.ini Wed Dec 3 16:08:31 2008 +++ php.ini-dist Tue Jul 22 11:00:49 2008@@ -328,7 +328,7 @@ ; ; stdout (On) - Display errors to STDOUT ; -;display_errors = On +display_errors = On ; Even when display_errors is on, errors that occur during PHP's startup ; sequence are not displayed. It's strongly recommended to keep @@ -338,7 +338,7 @@ ; Log errors into a log file (server-specific log, stderr, or error_log (below)) ; As stated above, you're strongly advised to use error logging in place of ; error displaying on production web sites. -log_errors = On +log_errors = Off ; Set maximum length of log_errors. In error_log information about the source is ; added. The default is 1024 and 0 allows to not apply any maximum length at all. @@ -384,7 +384,7 @@ ;error_append_string = "</font>" ; Log errors to specified file. -error_log = /var/log/php.err +;error_log = filename ; Log errors to syslog (Event Log on NT, not valid in Windows 95). ;error_log = syslog ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.