Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: HTML Form not workin

by jakeease (Friar)
on Oct 28, 2013 at 07:47 UTC ( #1059946=note: print w/replies, xml ) Need Help??


in reply to HTML Form not workin

Your last line of HTML, </FORM><BODY></HTML> is missing the slash in the </BODY> tag.

For anything further, you'd need to post your Perl code.

Replies are listed 'Best First'.
Re^2: HTML Form not workin
by zak100 (Initiate) on Oct 28, 2013 at 15:27 UTC
    Hi, Thanks for your response. I have updated my code based on your advice but its still not working. My code is now:
    <HTML> <HEAD> <TITLE> Login Page </TITLE> </Head> <BODY> <FORM method="post" action="login.pl"> <TABLE BORDER ="0"> <TR> <TD> User Name</TD> <TD><input type="text" name="username" value=""></TD> </TR> <TR> <TD>Password </TD> <TD><input type="text" name="password" value=""></TD> </TR> <TR><TD COLSPAN="2" ALIGN="RIGHT"> <input type="submit" name="submit" value="login"> </TD></TR></TABLE> +</FORM></BODY></HTML>
    I have now stored it (login.html) in htdocs folder of Apache server where index.html resides. If i try:
    http://localhost/index.html
    It works. But if i try:
    http://localhost/login.html
    I am getting following error:
    Not Found The requested URL /login.html was not found on this server. Its not working. Plz guide me.
    Zulfi.

      Are the permissions for your login.html file set correctly?


      What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059946]
help
Chatterbox?
[shmem]: perl -e 'warn "test$/", ^@^ '
[Eily]: well, at least it's right about warn doing the same thing as die :)
[shmem]: same with undef as last element
[msh210]: oh, good point. It's the best kind of correct
[shmem]: msh210: but I'd not call it a lie outright. That's when you do know the truth.
[msh210]: I don't have sendmail (I'm on MS Windows), so does one of you think you can report the bug?
[shmem]: msh210: 'tis about time to tell the sad truth to perl5porters - via perlbug
[msh210]: probably whoever wrote that actually knows the truth
[shmem]: msh210: you can save the perlbug text in a file and send that via your mail agent of choice
[msh210]: hm, okay, I'll try, thanks

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2017-04-24 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.