strage POST problem (4.3.3.RC4)

From: Date: Thu, 21 Aug 2003 09:24:34 +0000
Subject: strage POST problem (4.3.3.RC4)
Groups: php.general 
Request: Send a blank email to php-general+get-160290@lists.php.net to get a copy of this message
Hi! Today I encountered a very strange POST problem. On FreeBSD4.8-stable I compiled apache 1.3.28 (using ports) and php4.3.3.r4 (also using ports). It was compiled with the following options: './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-regex=php' '--with-apxs=/usr/local/sbin/apxs' '--enable-bcmath' '--with-bz2=/usr' '--with-crack=/usr/local' '--enable-ctype' '--with-curl=/usr/local' '--enable-dbase' '--with-dom=/usr/local' '--with-dom-xslt=/usr/local' '--with-dom-exslt=/usr/local' '--enable-exif' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-gettext=/usr/local' '--with-iconv=/usr/local' '--with-imap=/usr/local' '--with-imap-ssl=/usr/local' '--enable-mbstring' '--enable-mbregex' '--with-mhash=/usr/local' '--with-mime-magic=/usr/share/misc/magic.mime' '--with-ncurses=/usr' '--with-openssl=/usr' '--enable-overload' '--enable-pcntl' '--with-pcre-regex=yes' '--enable-posix' '--with-pgsql=/usr/local' '--with-readline' '--enable-session' '--enable-shmop' '--with-snmp=/usr/local' '--enable-ucd-snmp-hack' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-tokenizer' '--enable-wddx' '--enable-xml' '--with-expat-dir=/usr/local' '--with-xmlrpc' '--enable-xslt' '--with-xslt-sablot=/usr/local' '--with-zip=/usr/local' '--with-zlib=yes' '--prefix=/usr/local' 'i386-portbld-freebsd4.8' (as it going to be multi-purpose web serwer). In this environment I tried to run one of ours applications that runs without any problems on a machine with apache1.3.27 and php4.3.2 and spoted that in certain circumstances the POST variables are empty. The post form consists of 2 input lines and a submit button (simple login page). If I enter certain texts in both lines and press the submit button I see nothing got set - with others texts - no problem - everything works perfectly. However there is a clue - if I add phpinfo to the script that is processing POST - some variables show up (but not all). Does anybody have any idee what causes this strange behavor? I'm sure the scripts are exactly the same on both machines. regards przem

« previous php.general (#160290) next »