HTML Form problem
Hi,
I have stored my HTML form in cgi-bin directory but its giving me error: Quote:
Code:
[root@HP-UX616K cgi-bin]# cat login.html Code:
[root@HP-UX616K cgi-bin]# cat login.pl Quote:
Kindly guide me with this problem. I have not made any changes in my httpd.conf file. I am using default setup. Zulfi. |
Please check your perl syntax with the following code:
Code:
perl -c login.pl |
Hi,
I have made changes in my code. Now my perl code is: Code:
[guest@HP-UX646UU ~]$ ./test.pl Quote:
Also tell me where the log files of Apache are stored? Zulfi. |
Quote:
|
Hi,
I am still getting the same error: Code:
[guest@HP-UX646UU ~]$ perl -c test.pl Zulfi. |
Quote:
Wrap your tags using php so it color coats and makes it easier to read, also indention helps out to. Also you need PHP Code:
Soon as I finish updating my system if somebody else hasn't replied, I'll try to run the code and fix it. |
Okay found your problem. It should look like this
PHP Code:
|
Hi,
Thanks for your help. Quote:
HTML word should be the only word on that line. My perl code is now: Code:
[root@HP-UX646UU cgi-bin]# ls Code:
[guest@HP-UX646UU zulfi]$ cat login.html Thanks for helping me. Zulfi. |
Glad I can help.
All though I do want to point out, before you get to serious with your form, it is still very insecure. Sanitize your database inputs, to prevent SQL injections. http://bobby-tables.com/ |
All times are GMT -5. The time now is 12:30 PM. |