last questions for my webmail script.

2002-03-21 Thread Matthew Harrison
What is the syntax to redirect the user to another page? i need to be able to include a query string in the redirect, plus it needs to be immediate and automatic. plus i still need a way to check whether the username variable in my script matches any usernames in the system's /etc/passwd file.

Re: last questions for my webmail script.

2002-03-21 Thread fliptop
Matthew Harrison wrote: > What is the syntax to redirect the user to another page? i need to be able > to include a query string in the redirect, plus it needs to be immediate > and automatic. perldoc -q redirect -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Mail::POP3Client

2002-03-21 Thread Scot Robnett
If it is not locating the PPD file, try this instead: C:\> ppm PPM interactive shell (2.1.5) - type 'help' for available commands. PPM> PPM> install --location=http://www.activestate.com/packages/ Mail-POP3Client.ppd Mail::POP3Client

sendmail command in Windows?

2002-03-21 Thread Octavian Rasnita
Hi all, I use Perl under Win 2k, and I know there is no sendmail command under this OS. I also know that I can use the net::smtp module to send mail, but I am wondering if there is a Windows command line program for sending mail available. Do you know such a program? Thank you. Teddy, My dear e

accessing CGI params from an included script

2002-03-21 Thread David R. Baird
I have an html template file, /path/to/htdocs/file.html and I slip in a cgi script using SSI: The file executes fine, but how can my cgi script access any parameters being sent to the file, e.g. /path/to/htdocs/file.html?name1=val1 I'm running Apache/mod_perl on Win 98. Thanks, David

RE: sendmail command in Windows?

2002-03-21 Thread Scot Robnett
BLAT for SMTP. Getmail for POP3. http://www.interlog.com/~tcharron/blat.html Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 7:18 AM To: [EMAIL PROTECTED] Subject: s

RE: accessing CGI params from an included script

2002-03-21 Thread David R. Baird
Thanks, Tim, your link had the answer. The script should be included as The cgi parameters are then passed to the script, and are available via the usual CGI.pm methods. David. On 21 Mar 2002, at 11:02, Tim Doty wrote: > If I understand what you are wanting to do: > > http://httpd.apac

Re: script was working now doesn't

2002-03-21 Thread Teresa Raymond
I figured out it wasn't working because form name doesn't have a value attached to it. One way to write the script is to send a hidden name and verify that the value is the same thereby making sure no one can run the program without using the form. >I don't see enough of the code to have a cl

Re: last questions for my webmail script.

2002-03-21 Thread fliptop
[reply cc'd to list] Matthew Harrison wrote: > that doesn't really answer the question as it doesn't really clearly show > what the syntax should be and how it is used. > > On Thursday 21 Mar 2002 12:38 pm, you wrote: > >>Matthew Harrison wrote: >> >>>What is the syntax to redirect the user t

Re: last questions for my webmail script.

2002-03-21 Thread Matthew Harrison
so that is all i have to write? seems a bit sparse compared with majority of other perl code, but there we go, you obviously know more about this that me. On Thursday 21 Mar 2002 5:19 pm, fliptop wrote: > [reply cc'd to list] > > Matthew Harrison wrote: > > that doesn't really answer the questi

How do I config to get a Perl script to execute?

2002-03-21 Thread GreenLight
I am a newbie to Perl CGI scripting, but not to Perl or server-side scripting in general. I have used PHP extensively, and it is embedded in the HTML like this: How do I get a page based on Perl to work? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: How do I config to get a Perl script to execute?

2002-03-21 Thread Tim Doty
In essence, you instruct perl to print the contents of the page. There are different ways of actually doing this, but two that come to mind are: 1) print the entire html document from perl. The cgi script prints the contents header as well as the regular html file, e.g., print "Content-type: text

Printing not in correct order

2002-03-21 Thread Dave K
I have a cgi script- #!C:/Perl/bin/perl -wT use strict; use CGI; my $q = new CGI; binmode STDOUT; print $q->header(-type => "image/gif" ); use Image::Magick; my $image=Image::Magick->new; $image->Set(size=>'30x180'); $image->Read("gradient:#ff-#ff"); $image->Raise('3x3'); $image->Rotate

Re: Re :Camel Book

2002-03-21 Thread Michael Kelly
On 3/20/02 8:26 PM, Sunish Kapoor <[EMAIL PROTECTED]> wrote: > Hi Teddy, > > Want an HTML version of Programming Perl Second version (Free) . > > Sunish > > ;-) No, I do not. And neither does anyone else. Rethink your outlook on piracy. -- Michael -- To unsubscribe, e-mail: [EMAIL PROTE

script

2002-03-21 Thread MARGARET
hello, is this mail script available? I like it. Thanks, Margaret

RE: html in a cgi script

2002-03-21 Thread Camilo Gonzalez
Can someone resend the regex they formulated for checking for valid emails? I seem to have accidently deleted it. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cgi upload - opera...

2002-03-21 Thread Boex,Matthew W.
i have a cgi where i can upload files, netscape and ie work fine, opera just hangs. what gives? matt -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: existing username

2002-03-21 Thread Randal L. Schwartz
> "Matthew" == Matthew Harrison <[EMAIL PROTECTED]> writes: Matthew> how can i make a script check whether a variable equals an existing system Matthew> username or not? the script does not run as root, it is a webpage. if (defined getpwname($possible_new_name)) { # it already exists } el

RE: How do I config to get a Perl script to execute?

2002-03-21 Thread yahoo
Hi, Perl 'normally' works by embeddeding your HTML into a Perl cgi program. Embedding Perl into HTML (the otherway around to the above) is achieved by add ons (normally via mod_perl). Please see the below URL. http://perl.apache.org/#appservers EmbPerl is mentioned quite a popular embedding me

Fw: DBI w/ DBD:ODBC or DBD:mysql or DBIx-AnyDBD

2002-03-21 Thread Bob T
- Original Message - From: Bob T To: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 11:10 PM Subject: Fw: DBI w/ DBD:ODBC or DBD:mysql or DBIx-AnyDBD - Original Message - From: Bob T To: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 11:08 PM Subject: DBI w/ DBD:ODBC

Re: Re :Camel Book

2002-03-21 Thread Randal L. Schwartz
> "Sunish" == Sunish Kapoor <[EMAIL PROTECTED]> writes: Sunish> Want an HTML version of Programming Perl Second version (Free) . I would certainly hope that you are not serious. If you are, you'll be reported to O'Reilly's enforcement division. Pirating is no joke. -- Randal L. Schwartz

RE: DBI w/ DBD:ODBC or DBD:mysql or DBIx-AnyDBD

2002-03-21 Thread yahoo
sorry bob, I'm a bt confused here as to what exactly the problem is your experiencing are you unable to connect to mysql db on winxp running activestates perl? What error do you get? I would guess this is the case as your PPM dump didn't seem to show a DBD for mysql. If this is the case, can you

save button?

2002-03-21 Thread Josiah Altschuler
Hello. I was wondering if anyone could tell me how to make a "save" button on a form, so that the user could download info from a web page. For example, I'm trying to do what they did here: http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=&DB=nucleotide Is this possible with CGI? Thanks, Josi

RE: Re :Camel Book

2002-03-21 Thread Scot Robnett
Believe me, the book is worth much more than the measly $30 or $40 you're going to spend. Let's not try to rip off the people that put so much time and effort into not only producing the book, but the language itself. Unbelievable...Larry certainly deserves a lot more respect than that. Scot Robn

Re :Camel Book

2002-03-21 Thread Sunish Kapoor
I am certainly not serious ! For your info >> The Perl CD Bookshelf is available onlne ! >> on this link: http://www.net-hamster.org/Perl/Perl%20Bookshelf/prog/index.htm and on this link too : http://www.f1.com.ua/ora/perl/ Take Care :-) - Original Message - From: "Randal L.