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!
Male
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!
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)
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!!!!
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
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
Community Forum Software by IP.Board
Licensed to: Philip Lawrence, PHP Freaks

Find content