From: sirber at myrealbox dot com
Operating system: Gentoo Linux
PHP version: 4.3.2
PHP Bug Type: PostgreSQL related
Bug description: PHP .3.2 + Postgresql 4.3.x whitout SSL insert 2 elements
Description:
------------
Gentoo make.conf:
USE="-X -gnome -kde -qt perl 3dnow mmx crypt -cups gd gif -gtk imap -java
jpeg mbox ncurses png
postgres samba sse ssl tcpd zlib x86 apache"
With apache (1 or 2), PHP 4.3.2-x and Postgresql 7.3.2-x,
a pg_query($ConenctID, "INSERT INTO ..."); insert 2 elements. If I add
mod_ssl, and use ssl, the same page insert only 1 element, which is
normal.
We made a lot of tests, and the pg_query is executed only once in both
case, and the page is loaded only once too.
Reproduce code:
---------------
pg_query($ConnectID,"INSERT INTO tblassdivision (asscontratid,
dateeffective, dateterminaison, concontactid, entdivisionid, conadresseid,
creepar, creedate) values ( '$contratID', $txtDateEffective,
$txtDateTerminaison, '$contactID', '$divisionID', '$conAdrID'
,'$sUserID', now())");
Expected result:
----------------
1 new row
Actual result:
--------------
2 new rows without mod_ssl
1 new row with mod_ssl
--
Edit bug report at http://bugs.php.net/?id=24952&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24952&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24952&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24952&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24952&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24952&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24952&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24952&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24952&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24952&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24952&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24952&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24952&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24952&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24952&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24952&r=gnused