CGI script for form

  • swooshn
  • Novice
  • Novice
  • No Avatar
  • Joined: Sep 29, 2003
  • Posts: 17
  • Loc: college park
  • Status: Offline

Post June 8th, 2004, 9:45 am

I'm making a form for a website. My problem is i don't know anything about Perl or CGI and I need this type of scritpt so that I can receive the emails.

Here's an email of the situation that I have to work with.
Thanks for your help.


Q - What are the paths to the sendmail and Perl binaries, cgi-bin, and my actual website?

A - The path to Perl 5.6 is /usr/local/bin/perl. The path to sendmail on the server is /usr/lib/sendmail. Your website is located on the server at /www/www.yourdomain.com/www. The actual CGI directory is located one directory up from the web root (/www.www.yourdomain.com/cgi-bin)

Q - Can I use formail.pl for receiving emails via a form on my site?

A - Sure, but due to the frequent security risks introduced from using this script it must be named something other than formail.pl (form_mailer.pl, mail_from.pl, etc...).

Q - What type of server platform is my site hosted on?

A - Your Allegiance Telecom hosted website is hosted on the state of the art Unix server running Apache 1.3.x
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 8th, 2004, 9:45 am

  • Carnix
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 28, 2004
  • Posts: 1099
  • Status: Offline

Post June 8th, 2004, 11:16 am

Better question to ask... Can you run PHP scripts.. Perl/CGI is, in my opinion, passe at this point.
.c
  • Hacker007
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 07, 2004
  • Posts: 371
  • Loc: Riverside, CA
  • Status: Offline

Post June 8th, 2004, 11:50 am

Isnt this wrong forum ???
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." -Martin Golding
  • Carnix
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 28, 2004
  • Posts: 1099
  • Status: Offline

Post June 8th, 2004, 12:09 pm

Probably, but the mods will dutifully move it, if so... I'm not really picky =]

.c
  • jlknauff
  • Expert
  • Expert
  • User avatar
  • Joined: May 18, 2004
  • Posts: 502
  • Loc: Florida
  • Status: Offline

Post June 10th, 2004, 1:21 pm

If you are still trying to get it to work go to my site and borrow the code from my page

http://www.vsssleep.com/form.htm

You will also need to get the .pl and modify it. Open it in Dreamweaver or notepad.

http://www.vsssleep.com/cgi-bin/info.pl
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline

Post June 10th, 2004, 1:24 pm

//moved
- dM

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 227 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.