Jump to content


Mr-Chidi

Member Since 20 May 2008
Offline Last Active Jul 17 2013 10:34 AM

Posts I've Made

In Topic: What could be wrong!

19 March 2013 - 09:11 AM

What debugging steps have you taken?

Make sure error_reporting is set to E_ALL or -1 and display_errors is set to ON or 1

It may help to post the form

 

I do not have control over my live server (host) but from my localhost, all is working fine!
 


In Topic: What could be wrong!

19 March 2013 - 12:07 AM

You're not giving us nearly enough information to help you.
Where exactly is the problem?

 the problem is that when the username and password is entered, it suppose to redirect to an index but it is not redirecting, but again i could access other pages inside the target folder (which means the session have been set. because it displays the welcome username)


In Topic: What could be wrong!

18 March 2013 - 05:08 PM

I do not think the problem is as a result of short tags cos i just tried it with aykay47 method (action="") and still the same behavior.

What on earth could be wrong!!!!


In Topic: What could be wrong!

18 March 2013 - 03:44 PM

$_SERVER['PHP_SELF'] should never be used as a forms action, as it can rather easily be spoofed.

Instead if you want the form to submit to itself, use action=''

thanks and noted


In Topic: What could be wrong!

18 March 2013 - 03:41 PM

It depends on what you mean by "doesn't work", but it sounds like your live server doesn't have short tags enabled.

doesnt work means i could not redirect to my intended page. and how do i check if my live server doesn't have short tags enable and can i enable(nope i guess)

what beats me is that it works on my wamp and i could reach other pages in my target directory


Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com