Hi,

I have a index.html file, which creates a HTML  login page - which is a
simple <FORM></FORM> allowing a user to enter their username and password
into 2 seperate fields.

The action is to call another php script for processing, i.e. <FORM
action="login.php" method="post">.

Now, I can understand why it brings up a pop-up-box with the message :

"The page cannot be refreshed without resending the information.  Click
retry to send the information again, or click Cancel to return to the page
that you were trying to view."

while the browser is on the index.php script (with the form).

But why does it bring up the same message when the page is refreshed after
login.php has been processed ??

If I run login.php independantly (wihout calling it from the <FORM> in
index.php) then it displays some the text, and refreshes without popping up
the message box above.

All login.php does is display some text, at the moment it doesn't do any
checking on the user input.

Thanks for any help!

Shams

------------------------------------------------------------------------

index.html
----------

<HTML>
<HEAD>
<TITLE>Login</TITLE>
</HEAD>
<BODY>

<FORM name'"login" action"login.php" method="POST">
<INPUT name="username" type="text" size="10">
<INPUT name="password" type="password" size="10">
</FORM>

</BODY>
</HTML>

login.php
---------

<?php

print("hello");

// thats all!

?>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to