Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Get and Post not working in IIS vs. Linux

phpMyEdit Configuration     Get and Post not working in IIS vs. Linux
Post new topic   Reply to topic    
 
matthartman     Joined: 01 Dec 2009   Posts: 2  
Post Posted: 2009-12-01 18:54
Back to top  Reply with quote     

I've been tasked with resolving an issue on a web application developed with phpMyEdit. Prior to my arrival on the scene the application was moved from Linux to a Windows environment running IIS 7.0.

The IIS server is setup to run fastcgi and renders the page fine. The problem is when the form is posted the variables aren't passed properly. In the debug output it shows that the _REQUEST and _POST variables under "PHP Variables" are changing appropriately, however the print_get_variables and print_post_variables functions are returning "No GET variables found" and "No POST variables found."

It runs properly on the Linux server.

Any ideas would be much appreciated. I don't have a thorough knowledge of php, cgi and known issues with IIS - I come from an ASP and ASP.NET background.

 
doug     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2009-12-02 16:50
Back to top  Reply with quote     

I've never heard of print_get_variables and print_post_variables. Burn the MS server and use Linux based hosting, which accounts for about 80% of all web servers, for good reasons. File paths are notably different, so maybe some include files are not being found, and possibly error_reporting is off in PHP and errors are not being displayed. Set error_reporting(E_ALL); in your PHP script, or check error logs. Include a copy of the dBug script from http://dbug.ospinto.com/ in the page footer and perhaps that output will reveal some causes.

 
matthartman     Joined: 01 Dec 2009   Posts: 2  
Post Posted: 2009-12-02 17:29
Back to top  Reply with quote     

Thanks for the feedback Doug.

I was able to solve the problem by changing $HTTP_GET_VARS to $_GET and $HTTP_POST_VARS to $_POST.

The functions were actually: print_get_vars() and print_post_vars() - my bad.

As far as switching back to Lynux, you will have to take it up with my IT director :P. I don't disagree with you, but its not my decision and the decision to change servers was made a few months before I got here.

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy