Well im basically helpless when it comes to CGI/Perl, and i tried to follow the tutorials but i just get lost. Is anyone here fluent in Perl? Im trying to have a comments page on my website, but I have a template for PHP and Angelfire doesnt use PHP, only CGI. Anyone know much about angelfire?
I have a comments MC with the corresponding variables...
I know obviously the "send.php" wont work because i dont have PHP, but can someone help me write a cgi to just email these variables to me?Code:on (press) { if (first_name) { msg.gotoAndPlay(2); loadVariables("send.php", this, "POST"); first_name = ""; last_name = ""; address = ""; email = ""; phone = ""; comments = ""; } else { a.gotoAndPlay(2); } }
and the "a.gotoandplay(2)" gives them a message telling them they need to enter their name, so dont worry about that.
So can someone help?
Anyone familliar with Angelfires CGI?
Also...here is an example of a CGI script that Angelfire suggests...thats works fine....
Here is the link to angelfires CGI guide....Code:<FORM ACTION="/cgi-bin/script_library/form_handler_mail" METHOD=POST> What is your name? <INPUT TYPE="text" NAME="visitor_name"><BR> What is your email address? <INPUT TYPE="text" NAME="email"><BR> <INPUT TYPE="hidden" NAME="end_display" VALUE="http://www.pokepokertables.com"> <INPUT TYPE="hidden" NAME="required" VALUE="email"> <INPUT TYPE="hidden" NAME="order" VALUE="visitor_name, email"> <INPUT TYPE="hidden" NAME="savefile" VALUE="visitors.txt"> <INPUT TYPE="hidden" NAME="email_to" VALUE="[email protected]"> <INPUT TYPE="submit" VALUE="Submit"> </FORM>
http://www.angelfire.com/wy2/pokepok...es_readme.html




Reply With Quote