You are here:
Perl programming using CGI, databases, HTML templating, and website automation.
Web developer since 1998, owner of Face 2 Interface.
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| Ed | 07/04/09 | 10 | 10 | 10 | Thanks, Thought as much! Ed |
| John | 02/12/09 | 10 | 10 | 10 | Thank you very much! You pointed me ..... |
| Balaji | 07/09/08 | 10 | 10 | 10 | Hi Thanks for the really quick response ..... |
| David | 07/09/08 | 10 | 10 | 10 | thank you! |
| Michael | 03/03/08 | 10 | 10 | 10 | Thank you. |
John, If I understand your question correctly, you're asking about changing the text of an email being sent to someone to HTML from plain text. No, you shouldn't have to include the HTTP headers you
Jesse, The code you've posted is pretty basic old fashioned CGI/Perl. If it works that's a great start. It should be easy to read and maintain because everything is very explicitly written out. If
I'm not sure what the problem might be. But try this instead: #!C:activeperl/perl/bin/perl use strict; my $html = q| content-type:text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Try having 2 carriage returns after your first line ie. content-type:text/html <!DOCTYPE html PUBLIC "-//W3C//DT etc.. instead of content-type:text/html <!DOCTYPE html PUBLIC "-//W3C//DT
Lee, Maybe I'm misinterpreting this, but if you look here http://littlelink.webtrouble.com/?qwSz there is an explanation of Perl's -F parameter, and honestly I don't understand why your hosting

©2012 About.com, a part of The New York Times Company. All rights reserved.