server 2003 - activeperl - please help...

  • surreal
  • Newbie
  • Newbie
  • surreal
  • Posts: 7

Post 3+ Months Ago

hello all...

im in need of some help.

im hosting my own website on my own personal home webserver. my webserver is microsoft windows 2003, running iis 6.

everthing with my webserver is fine as far as i know. im trying to run a perl script now on one of my pages. the script is formmail.

i have installed activeperl on my server and set it up. i setup the web service extensions and created the cgi-bin virtual directory.

i placed the that i got from in c:\inetpub\cgi-bin and gave everyone full access for now.

the html code is:

<form action="/cgi/formmail" method="POST">
<input type="hidden" name="recipient" value="">
<input type="hidden" name="redirect" value="thanks.htm">

then the form input stuff

<input type="submit" value="send"> <input type="reset">

not sure why this is not working, however this is the first time i have tried something like this. hopefully this is all good information for you, but if you need more just let me know. all i want to do is setup the server so i can setup a webpage to send an email to me with the information the client provides.

thank you all very much for your help, i hope that i can return the favor soon...

  • surreal
  • Newbie
  • Newbie
  • surreal
  • Posts: 7

Post 3+ Months Ago

i hope i posted this in the right place...


ok i have been looking around, and the only thing i can think of is that it may not be working because i dont have sendmail installed on my server. seeing how i have now idea how to install this or if this is something that will fix my problem, im not sure what to do, your help in this matter will be great...

also, what do you think about this option. i have found some script in asp that are suppose to do the same thing. here is one as an example: ... t.asp?id=1

this sounds like it may be easier, but it looks like for this one you need to install smtp mail service, this is another i dont know how to do or if it something i need to do. once again your help will be great, and thank you very much...

  • surreal
  • Newbie
  • Newbie
  • surreal
  • Posts: 7

Post 3+ Months Ago

well it seems that i cant get the asp version to work at all.

here is where im at...

i wanna use the perl version, located here:

this is the html form that im using:

<form method="post" action="http://www.surrealentertainment/cgi-bin/">
<input type="hidden" name="recipient" value="" />
<p><font color="#FFFFFF">Please enter your name below</font></p>
<p><input type="text" name="feedback" size="33" />
<input type="submit" />
<input type="hidden" name="redirect" value="http://www.surrealentertainment/check/thanks.htm" />

this is the setting in the file

$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 5;
$mailprog = '';
$postmaster = '';
@referers = qw( localhost);
@allow_mail_to = qw( localhost);
@recipients = ();
%recipient_alias = ();
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '/css/nms.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$address_style = 0;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
Subject: form submission
Thank you for your form submission.
# use lib './lib';

to view the website you can go to and click on check availability and then click on check availability again...

im not sure what to do from here, thank you all for this help, this site is live and i hate to loose any clients due to me not know what im doing...


Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 4 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

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.