Welcome! Log In Create A New Profile

Advanced

wrong REQUEST_METHOD

Posted by 42609852 
Announcements Last Post
Announcement : Programming Students at UNISA School of Computing 06/19/2019 02:01PM
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
wrong REQUEST_METHOD
May 01, 2013 11:22AM
for some reason when I post my login
this evaluates to false

Language: PHP
if ($_SERVER['REQUEST_METHOD'] == 'post')
It works local... and firebug shows that the info is definitely being sent via post
(and I have tried POST as well)

I cannot get the login to work now that it is on server?
(get your website uploaded ASAP... there is other problems coming out now that its live)

SORRY!!!! WAS NOT THE PROBLEM

I should just do beter job of tracing the errors, seems its something with db...
Re: wrong REQUEST_METHOD
May 05, 2013 09:44PM
Hallo, I also picked up problems during logon stage now that the website is live on the server. Did you solve your problem and how? I also picked up problems with variables being send to the next page. It worked well local, but not live on the server.

Van Zyl
Re: wrong REQUEST_METHOD
May 06, 2013 12:16AM
Hallo,

I sorted out all my errors. Thanks heavens! It seems as if the freeoda server are far more case sensitive than our local server.
Especially when referring to file names.

Van Zyl
Re: wrong REQUEST_METHOD
May 06, 2013 08:03AM
@VanZyl - yes sorry for late reply,
Mine was the same problem, the file names are case sensitive as it is hosted on Linux... locally windows is not case sensitive.
This was not only problem with login, but with my SQL my hreff everything...
but was a good lesson
Sorry, only registered users may post in this forum.

Click here to login