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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: akshay dot srin at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 18 17:01:28 2024 UTC