Re: email attachment

2001-06-17 Thread Teresa Raymond
The only problem with using that bit of code is that the files that are being sent as attachments could be as large as 3MB since they're graphics - photoshop,quark, etc... I'm not sure it can handle the code, anyone else know? Plus, I'm just learning to use strict and CGI.pm and it looks like

Re: email attachment

2001-06-17 Thread WebMaster AIM-US
Teresa, Make sure you look into the confusing syntax of writing an e-mail attachment. Here's a good place to look: http://alma.ch/perl/Mail-Sendmail-FAQ.htm#attachments It contains a neat module (I have not tried it ... it contained way more than I ne

email attachment

2001-06-17 Thread Teresa Raymond
Okay, I am just starting to use CGI.pm to write an prog that sends an email with an attachment. I am receiving the error: # Global symbol "in" requires explicit package name. File 'Hard Disk:Desktop Folder:DOCS:CWN:ADS UPLOAD:ademail.cgi'; Line 14 I don't understand how I am supposed to correct

RE: Need Perl/CGI/DBI/mysql Examples

2001-06-17 Thread Steve Howard
Well, I got so involved with the DBI portion that I didn't get into the CGI. For a very good tutorial on CGI (doing it the right way) including step by step instructions on building the web app as a whole, look at this site (it is still under construction, but is very good): http://www.peacecompu

Hi, my second question is about image files

2001-06-17 Thread Chan Jennifer
Hey folks, Me again =) I've using a script like this. print "Content-Type:image/gif\n\n"; open (IMG, "image.gif"); binmode(IMG); while (read IMG,$buffer,1) { print $buffer } I don't know why, the graphic output sounds like abstracted together..., means incorrect output anyway, but I've able t

Hi, my first question is about binary data

2001-06-17 Thread Chan Jennifer
Hey folks, Please don't scold me if I am asking a very stupid question. =) I am now handling some sort of text files, however, they are eating me a lot of harddisk. I tried to using PACK, however, I found that I cannot unpack it if I pack the file with "B" or "H"... Would anybody have any idea

Hi all, Just Testing =)

2001-06-17 Thread Chan Jennifer
_ Do You Yahoo!? «Ø¥ß­Ó¤Hºô¯¸ http://geocities.yahoo.com.hk Build your own website at http://geocities.yahoo.com.hk

Re: Example of OOP cgi ?

2001-06-17 Thread fliptop
Steve Howard wrote: > > Can someone point me to an example of a completely Object Oriented CGI > script. The Perldoc examples are procedural, but there must be a good OOP > example somewhere for me to tear apart and learn that technique from. have you looked at the addressbook tutorial i'm worki