Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by thevenerablez

  1. thevenerablez

    PERL Script Returning Error 500

    Thanks everyone, I'm about to try all this now. I'll let you know how it works. Thanks again! _zach
  2. thevenerablez

    PERL Script Returning Error 500

    Hi, My server's error log says, "Premature end of script headers" as the result of the error 500 on sendmail.cgi. What needs to be done? Thanks, _zach
  3. thevenerablez

    PERL Script Returning Error 500

    Is the CGI or HTML file causing the error? Does anyone know where I could look to remove the error? Thanks, _zach
  4. thevenerablez

    PERL Script Returning Error 500

    Kevin, I changed the shebang line to #!/usr/bin/perl as you suggested. Otherwise, my sendmail.cgi file is the same as your previous post. As for uploading through Dreamweaver, I didn't bother. I did my upload in terminal. Here is the code that uploaded my script: ftp> put sendmail.cgi local...
  5. thevenerablez

    PERL Script Returning Error 500

    Thanks for your responses! I'm still a little lost. Kevin, I copied your code and made it my sendmail.cgi file. I'm still getting a 500 error. How do I upload in ASCII mode and what is chmod? How can I set chmod to 755? I'm running Mac OS X 10.4.8 and am uploading the file in Dreamweaver 8...
  6. thevenerablez

    PERL Script Returning Error 500

    Hi, I am new to PERL coding and I am stuck on my first CGI script. I am trying to make an email form work. Here is my script: #!/usr/local/bin/perl -wT use strict; use CGI ':standard'; my ($to, $from, $name, $subject, $contents); print "Content-type:text/html\n\n"; $to = param('to'); $from...

Part and Inventory Search

Back
Top