Send Mail with attachment

2008-10-21 Thread leolim818
Hi All, I'm using perl module MIME::Lite to sent out email with attachments, may I know what "Type" should I define to attach any type of files, for instance .jpg, .xls, .doc, .pdf and etc without checking the attached file type. Is there any global variable to define instead of Type => 'applicat

Problem with Perl upload with $CGI::POST_MAX

2008-10-21 Thread leolim818
Hi All, I try to upload file to my perl upload program and I have restricted the file upload with 100KB ($CGI::POST_MAX = 1024 * 100;), when a uploaded file exceed the size limit, an error message will be shown by calling $query->cgi_error(). It's working fine with all type of files but except fo

Re: Character Set list

2008-07-17 Thread leolim818
On Jul 17, 9:36 am, [EMAIL PROTECTED] (Thomas Yan) wrote: > Hello, >         How can I view the list of all the character sets supported by Perl? >         Could you tell me if I can find it in perldoc or a url at any > website and where it is? > >         Thanks. > Thomas Hi Mimi and Rob, Thanks

Re: Get Clients Windows Logon ID

2008-07-16 Thread leolim818
On Jul 16, 12:54 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > [EMAIL PROTECTED] wrote: > > > On Jul 15, 11:11 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > > >> [EMAIL PROTECTED] wrote: > > >>> On Jul 15, 12:32 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > > How is this Perl programming being run? It

Re: Get Clients Windows Logon ID

2008-07-16 Thread leolim818
On Jul 15, 11:36 pm, [EMAIL PROTECTED] (Mimi Cafe) wrote: > remote_user() or user_name() should give you the name of the user if you are > using CGI.pm. > > Mimi > > On 15/07/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > On Jul 15, 11:11 am, [EMAIL PROTECTED] (Rob Dixon) wrote: >

Re: Get Clients Windows Logon ID

2008-07-15 Thread leolim818
On Jul 15, 11:11 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > [EMAIL PROTECTED] wrote: > > > On Jul 15, 12:32 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > > >> How is this Perl programming being run? It looks like it's a CGI program or > >> being run from a scheduler, in which case the process doesn't

Re: Get Clients Windows Logon ID

2008-07-15 Thread leolim818
On Jul 15, 11:11 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > [EMAIL PROTECTED] wrote: > > > On Jul 15, 12:32 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > > >> How is this Perl programming being run? It looks like it's a CGI program or > >> being run from a scheduler, in which case the process doesn't

Re: Get Clients Windows Logon ID

2008-07-14 Thread leolim818
On Jul 15, 12:32 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > [EMAIL PROTECTED] wrote: > > On Jul 11, 11:59 pm, [EMAIL PROTECTED] (Rob Dixon) wrote: > >> Amit Saxena wrote: > > >>> On Fri, Jul 11, 2008 at 8:39 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Can you pl

Re: Get Clients Windows Logon ID

2008-07-14 Thread leolim818
On Jul 11, 11:59 pm, [EMAIL PROTECTED] (Rob Dixon) wrote: > Amit Saxena wrote: > > > On Fri, Jul 11, 2008 at 8:39 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > > >> [EMAIL PROTECTED] wrote: > > >>> Can you please advice me how to get the Clients' windows logon user > >>> name in perl? > > >>   $ENV{US

Get Clients Windows Logon ID

2008-07-11 Thread leolim818
Hi All, Can you please advice me how to get the Clients' windows logon user name in perl? Thanks & Regards, Leo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/