Posted by Fish44 on 03/23/06 11:37
No u havent confused me (too much). I'm already out of the 'header'
option, by the time i get to line 83, since the page is a login one,
and html has already been generated before the user presses the send
button which posts the data to the sever using php.
Ive used the javascript as follows
code-------------------------
if ($row["UserPass"]=="$Pass1")
{
echo( $tempName ."<br>" ."You are now logged in. <br>");
echo("<a href=\"some url\">go somewhere</a>");
echo("<script>
<!--
location.replace(\"some url\");
-->
</script>");
end code------------------.
So if the java fails, then the link is presented. Think this is a good
compromise
Many Thanks,
Fish44
[Back to original message]
|