From: akshay dot srin at gmail dot com Operating system: Windows 7 PHP version: 5.4.6 Package: Apache related Bug Type: Bug Bug description:Having big issues with AJAX with php on Apache or IIS
Description: ------------ I am having weird issues with AJAX returns postbacks using PHP on Apache and IIS same javascript with same data returned works fine on IIS. The source code is downloadable from https://github.com/akshaysrin/CanvasControlLibrary look at the formsbased.php in phpexample1 folder. I have wasted hours getting it to work on php whereas it tooks minutes in ASP.Net no idea what to do please help need to support PHP. Debugging the javascript in Google Chrome sometimes it never comes back from AJAX calls sometimes with internal error 500 status sometimes with DOM Exception in status of AJAX xmlhttp response. Same code like I said works with the same data sent back on IIS ASP.NET when served from an aspx page if you happen to have a windows machine with IIS the example is there also. Using the Zend Server PHP server installed from their package. The IIS PHP is from your site download and installed all latest. Test script: --------------- URL to code is given freely downloadable open source. Expected result: ---------------- Page should work like it does from IIS and ASPX/ASP.NET page. Actual result: -------------- Page works differently when served from PHP zend server. -- Edit bug report at https://bugs.php.net/bug.php?id=62869&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62869&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62869&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62869&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62869&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62869&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62869&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62869&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62869&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62869&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62869&r=support Expected behavior: https://bugs.php.net/fix.php?id=62869&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62869&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62869&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62869&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62869&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62869&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62869&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62869&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62869&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62869&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62869&r=mysqlcfg