php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62865 Page along with AJAX postback is working on Apache not in IIS
Submitted: 2012-08-19 11:37 UTC Modified: 2012-08-19 13:51 UTC
From: akshay dot srin at gmail dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.4.6 OS: Windows 7
Private report: No CVE-ID: None
 [2012-08-19 11:37 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-19 13:40 UTC] akshay dot srin at gmail dot com
-Status: Open +Status: Closed
 [2012-08-19 13:40 UTC] akshay dot srin at gmail dot com
It does not allow AJAX calls cross sites and web servers.
 [2012-08-19 13:51 UTC] rasmus@php.net
-Status: Closed +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC