It was just a matter of quotes, thanks Paul!
As far as CGI.pm goes, I'm not sure if it is installed on my server (I don't own the tower, or even have a shell account). I tried implimenting a few scripts which called on it, but they didnt work.
As in, you want their information (in that format) to be emailed when someone completes the form? Or you want it to be displayed to the person who submitted it?
I've been using cgi-lib.pl (a library for parsing input), and i'm quite happy with it.
I've gotten almost everything i want to work with so far. Using cgi-lib.pl and code like that which is found at: http://cgi-lib.berkeley.edu/ex/perl5/fup.cgi.txt I can upload a file.
The problem comes...
Thanks. Two other quick questions:
How would I write a simple upload script (for uploading 1-3 pictures the user inputs)? If you don't want to bother explaining it a prewritten script would be fine.
2nd) I know this is the wrong forum, but it's such a basic question im sure someone knows it...
I'm new to cgi/perl, so this is a a rather simplistic question.
I am going to be writting data to an html file using CGI.
After declaring my varibles the code would be:
open(DAT,">$sitedata") || die("Cannot Open File");
print DAT "$sitename\|$siteurl\|$description\n";
close(DAT);
Is there a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.