knowing the path to chose!

2002-03-11 Thread Tim Fletcher
hi all, i have a domain (www.zigomushy.com) that i bort very cheap and have practicly no admin rights exept that i can publish, and execute Perl. i would like to set a site up at a diferent URL eg. http://blabla.zigomushy.com where blabla is the alternative URL. what i would like is for my

Re: Regex question

2002-03-11 Thread fliptop
Scot Robnett wrote: I don't think you can check for the existence of an e-mail address without actually attempting to send mail to it. You can ping or traceroute a domain, but only the mail server associated with it knows if the username is valid or not. If this is wrong, somebody with

Re: changing the defualt nobody@somecomputer.com (mailx)

2002-03-11 Thread Sir Douglas Cook
I seen this the other day,,, hope its what you are looking for. http://www.verysimple.com/scripts/nobody.html Later [EMAIL PROTECTED] - Original Message - From: Rob Roudebush [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 08, 2002 6:05 PM Subject: changing the defualt

DBM under Windows?

2002-03-11 Thread Octavian Rasnita
Hi all, Do you know if I can use DBM under Windows? I use Apache 1.3. and Active State Active Perl. Thank you! Teddy, My dear email address is [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at

How disconnect a CGI?

2002-03-11 Thread Luis Guillot
Anybody know how can I disconnect automatically an user of my web page writes with Perl? Are there any function or module for it? Thank you in advanced Luis Guillot

How disconnect a CGI program?

2002-03-11 Thread Luis Guillot
Anybody know how can I disconnect automatically an user of my web page writes with Perl? Are there any function or module for it? Thank you in advanced Luis Guillot -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sending email from perl

2002-03-11 Thread Tiberiy Virtgaym
Can somebody help me with code of how to send mail to users as an attachement from a perl program, a comma delimited file. Thank you. Tibi. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error)

Re: Sending email from perl

2002-03-11 Thread fliptop
Tiberiy Virtgaym wrote: Can somebody help me with code of how to send mail to users as an attachement from a perl program, a comma delimited file. mime::lite may be a good start: http://search.cpan.org/search?dist=MIME-Lite -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

html in a cgi script

2002-03-11 Thread Matthew Harrison
I am just starting to learn perl and am reading about cgi.pm I have read about creating an appropriate header and using the start_html line, but can someone please give me an example of their html inside a script? TIA -- Matthew Harrison Internet/Network Services Administrator Peanut-Butter

RE: html in a cgi script

2002-03-11 Thread Hanson, Robert
Here is the short story... 1. All HTTP messages have a header and a body section. The header includes content type (HTML, text, GIF, etc), the length of the content, login info, etc, etc. The body contains the actual data. 2. The head and body sections are seperated by a blank line. 3. You

Re: html in a cgi script

2002-03-11 Thread Matthew Harrison
have you got a script you can give me an example of, after a day at college with VB and PHP, Perl comes slowly! :) On Monday 11 Mar 2002 5:26 pm, Hanson, Robert wrote: Here is the short story... 1. All HTTP messages have a header and a body section. The header includes content type (HTML,

RE: html in a cgi script

2002-03-11 Thread Hanson, Robert
An example? Sure, here's one. #!/usr/bin/perl print Content-type: text/html\n\n; print htmlbodyHello World/body/html; That's all there is to it. Rob -Original Message- From: Matthew Harrison [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 12:31 PM To: Hanson, Robert; [EMAIL

RE: html in a cgi script

2002-03-11 Thread Scot Robnett
Matt, CGI.pm has some decent functionality for print HTML from Perl, if you are not worried about making your pages look pretty. It does offer some limited support for style sheets, but usually if I want my HTML to look nice, I just use a HERE doc. You should be able to save the following

foreach only returning first record of @Array

2002-03-11 Thread James Woods
When first running the page, the table is populated with all the records that it should be populated with. After hitting End Phase, the table only contains the first record. I'm passing the @Draw as a hidden form field. I've got 4 test print statements that print out @Draw (so I can see the

setting and retrieving cookies

2002-03-11 Thread Matthew Harrison
Ok, now i am pretty sure what i have done is right because i copied it from a book, but I don;t know if it is right to set or retrieve a cookie. here is my script that should set a cookie, allowing visitors to customise the look of my site: #!/usr/bin/perl use CGI qw/:standard/; $q = new

Re: setting and retrieving cookies

2002-03-11 Thread Matthew Harrison
i have checked and it does as for cookies on my webmail at the same server. also, i have cleared my list of whether to accept/deny cookies from various sites. is the script itself correct to set a cookie? (just have to check :) On Monday 11 Mar 2002 9:54 pm, you wrote: It's cause there is an

Re: setting and retrieving cookies

2002-03-11 Thread Matthew Harrison
the privacy setting aren't the problem. my browser is set to allow cookies and set to as before accepting them so i can tell if the cookie sets properly. it must be something with the script. On Monday 11 Mar 2002 10:08 pm, you wrote: No, the script can't correct your privacy settings itself.

cookies

2002-03-11 Thread Matthew Harrison
can someone show me an example of setting and retrieving a cookie using CGI.pm. I have tried the following but it won't set a cookie. I have my browser set to ask me whether i want to allow the cookies, and the script doesn't ask me: #!/usr/bin/perl use CGI qw/:standard/; $q = new CGI; print

mysterious leading spaces (same foreach problem w/ more details)

2002-03-11 Thread James Woods
OK, I've got a form where I'm passing an array via a hidden form field. The problem is that (after submission) I'm getting a leading space at the beginning of each 'record' after the first. In other words, the first 'record' is being passed as it should be, but each other record is being

File upload problems

2002-03-11 Thread James Kelty
Hello! I have written the below script for file uploading, but the script seems to be a little fickle. Very small text files upload with no problem at all, but slightly larger (76k) Word docs and Excel spread sheets seem to make the script time out. I can see the /tmp/CGIxx2768 type files

Re: mysterious leading spaces (same foreach problem w/ more details)

2002-03-11 Thread fliptop
James Woods wrote: That leading space is causing me headaches. when trying to do a foreach on the array, after submitting the form. instead of packing a huge array into one form var like this: input type='hidden' name='drawHidden' value='@Draw' why not pass it like this (in your html):

Re: File upload problems

2002-03-11 Thread fliptop
James Kelty wrote: I have written the below script for file uploading, but the script seems to be a little fickle. Very small text files upload with no problem at all, but slightly larger (76k) Word docs and Excel spread sheets seem to make the script time out. I can see the

RE: File upload problems

2002-03-11 Thread James Kelty
Thanks! -James -Original Message- From: fliptop [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 4:48 PM To: James Kelty Cc: [EMAIL PROTECTED] Subject: Re: File upload problems James Kelty wrote: I have written the below script for file uploading, but the script seems to be

Re: cookies

2002-03-11 Thread Randal L. Schwartz
Matthew == Matthew Harrison [EMAIL PROTECTED] writes: Matthew can someone show me an example of setting and retrieving a cookie using Matthew CGI.pm. I have tried the following but it won't set a cookie. I have my Matthew browser set to ask me whether i want to allow the cookies, and the

Re: mysterious leading spaces (same foreach problem w/ more details)

2002-03-11 Thread fliptop
James Woods wrote: I used the following code to write out all my hidden fields. It didn't get rid of the newline or caridge return characters at the end though. foreach my $item (@Draw){ my $counter = 0; my $daValue = $item; chomp($daValue); print input type='hidden' name='drawHidden'