Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: HTML Form not workin

by zak100 (Initiate)
on Oct 28, 2013 at 15:27 UTC ( [id://1060002]=note: print w/replies, xml ) Need Help??


in reply to Re: HTML Form not workin
in thread HTML Form not workin

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.

Replies are listed 'Best First'.
Re^3: HTML Form not workin
by thezip (Vicar) on Oct 28, 2013 at 20:28 UTC

    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1060002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-16 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found