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? 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? 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. 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. Link to comment https://forums.phpfreaks.com/topic/245906-form-posting/#findComment-1262923 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.