View Single Post
  #3 (permalink)  
Old 12-06-03, 01:05 AM
Millennium's Avatar
Millennium Millennium is offline
Wannabe Coder
 
Join Date: Nov 2003
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by gscraper
OK...apparently I'm not smart enough to adjust a simple form-to-email program to actually send to email. I've got a form on MBExpo.com (under the "contact us" page if you decide to go), in which the action of the form is to find the formmail program in the cgi-bin of my site, which it seems to do just fine but the next page after that tells me that there was a screwup in line 2 of the CGI program. It says that there's an extra bracket, but I've searched the perl file and there's no extra bracket on what I perceive to be line 2 of the script. This is the first time I've ever had to mess with perl of any type, so please in your responses remember that I'm yet a toddler.

I downloaded the formmail script from Matt's Script Archive, and only made the changes that were necessary (except that I downloaded it on the Mac at work, and so the text wrapping was off, and I had to go through in MacPerl and delete the little box that indicated where the line breaks were, and then hit enter). I think that's everything. Any ideas?
sometimes a missing semi-colon on the end of a line can cause Perl to report a misleading error message, so if you are sure that the brackets are OK, I would look for a missing semi-colon, or attach the script to a post and someone can look at it for you.
Reply With Quote