Edit report at https://bugs.php.net/bug.php?id=62865&edit=1
ID: 62865 User updated by: akshay dot srin at gmail dot com Reported by: akshay dot srin at gmail dot com Summary: Page along with AJAX postback is working on Apache not in IIS -Status: Open +Status: Closed Type: Bug Package: IIS related Operating System: Windows 7 PHP Version: 5.4.6 Block user comment: N Private report: N New Comment: It does not allow AJAX calls cross sites and web servers. Previous Comments: ------------------------------------------------------------------------ [2012-08-19 11:37:01] akshay dot srin at gmail dot com Description: ------------ The URL on which IIS is server up same PHP page is http://114.143.28.50/phpexample1/default.php. If you click the button which says Custom Click Function it does a postback to a PHP page which returns data but in the case of IIS doesnt. The working Apache page is at http://114.143.28.50:8080/phpexample1/public/default.php. Here when you click the button an alert and the label is changed to did postback and all the controls are in working order. This is an invention of mine so it is new you can download the source from https://github.com/akshaysrin/CanvasControlLibrary. For some documentation on how it works I maintain a rather large article on CodeProject here is the link http://www.codeproject.com/Articles/410856/Canvas- Control-Library-and-New-Forms-Based-System. Test script: --------------- You will have to check out the source code which is freely downloadable. Expected result: ---------------- Alert message and label changes to Did Postback Actual result: -------------- Nothing no change AJAX postback returns with no result only on IIS PHP. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62865&edit=1