davidf85 Posted August 28, 2011 Share Posted August 28, 2011 I am working on a PHP/MySQL authorization script. The script seems to work initially, but when I try to Login and post the Form ( echo '<form method="post" action=authorize_1.php">'; echo '<table>'; echo '<tr><td>Userid:</td>'; echo '<td><input type="text" name="userid"></td></tr>'; echo '<tr><td>Password:</td>'; echo '<td><input type="password" name="password"></td></tr>'; echo '<tr><td colspan="2" align="center">'; echo '<input type="submit" value="Log in"></td></tr>'; echo '</table></form>'; ) Internet Explorer returns the error that the page is not found.... but I am using one .php file for the authorization so I am sure the page is found because i can see the Login portion. Any ideas as to what is going wrong? Quote Link to comment https://forums.phpfreaks.com/topic/245906-form-posting/ Share on other sites More sharing options...
harristweed Posted August 28, 2011 Share Posted August 28, 2011 have you got a file named 'authorize_1.php' in the same folder as your authorization script? Quote Link to comment https://forums.phpfreaks.com/topic/245906-form-posting/#findComment-1262919 Share on other sites More sharing options...
davidf85 Posted August 28, 2011 Author Share Posted August 28, 2011 Yes it is - and I correct myself the Error is FORBIDDEN no access to the page. Quote Link to comment https://forums.phpfreaks.com/topic/245906-form-posting/#findComment-1262920 Share on other sites More sharing options...
xyph Posted August 28, 2011 Share Posted August 28, 2011 Check permissions of that file. Quote Link to comment https://forums.phpfreaks.com/topic/245906-form-posting/#findComment-1262923 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.