Newbie resource request.
Hello List, Wonder if anyone can guide me in the right direction. I would like to learn CGI programming with perl, so if anyone has any links to any really good beginner sites/tutorials? Many TIA Regards Denham Eva Oracle DBA Linux like TeePee... No Windows, No Gates and Apache inside! _ This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com _ # Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. TFMC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Thank You. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie resource request.
Hello Eva, I would like to learn CGI programming with perl, so if anyone has any links to any really good beginner sites/tutorials? Take a look at www.cgi101.com - there you find an online-class and - in my opinion - a good introduction into cgi with the help of perl. You can download a few chapters, so you don't depend on an online connection. Best regards Peter Stahl University of Würzburg German Department -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tail -f from a cgi script
Hi all My woes continue I had a great way to view system logs in real-time, all I did is direct the output of the tail command to my browser - a simple tail-f worked well. Since upgrading to RH8 and Apache 2.x this no longer works, though a tail -n20 still does. Does anyone have a way to output real-time logs to a browser? Best Regards Eugene Geldenhuys MCNE ECNE MCSE MCP TFX SOLUTIONS - PROFESSIONAL NETWORK DESIGN ,IMPLEMENTATION AND SUPPORT -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Getting the domain name
Hello, We have a fairly simple redirect script a url is entered, and even tho there are directions to not enter the http://www; sometimes we get it or http://;... what is the simplest method to extract just the domain name if a http://www.somedomain_name.com; or http://somedomain_name.com; is enter so we can extract just the somedomain_name.com thx's -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Web Hosting http://www.justlightening.net Tel: 1(985)902-8484 MSN: [EMAIL PROTECTED] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting the domain name
On Monday, Jul 14, 2003, at 09:37 US/Pacific, Mike Blezien wrote: Hello, We have a fairly simple redirect script a url is entered, and even tho there are directions to not enter the http://www; sometimes we get it or http://;... what is the simplest method to extract just the domain name if a http://www.somedomain_name.com; or http://somedomain_name.com; is enter so we can extract just the somedomain_name.com The simplest of re's I can think of is # # sub simple_get_domain { my ($string) = @_; my $some_dom; if ( $string =~ m!http://www.(.*)! ) { $some_dom = $1; }elsif ( $string =~ m!http://(.*)! ) { $some_dom = $1; } $some_dom; } # end of simple_get_domain but this is merely a string parser - and is not really gonna make sure that the $some_dom returned is kosher... The squirelly part of course are things like: http://foo.bar.com:12345/uri_path_stuff_here or http://127.0.0.1/ I start that part with something like sub parse_url { my ($me,$url) = @_; my($schema, $host_port, $uri ) = ($url =~ m!^([^:]+)://([^/]+)(.*)$!); } # end of parse_url sub get_host_port { my ($me,$host_port) = @_; my ($host,$port) = ($host_port =~ m/([^:]+):([^:]+)/) ? ($1,$2) : ($host_port, ''); } And then the validation part gets into either working backwards from the TLD - top level domain - or trying to figure out which part of the string is the host part. try to remember that nas.nasa.gov IS the domain name, not a host and domain component ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting the domain name
Mike Blezien wrote: Hello, We have a fairly simple redirect script a url is entered, and even tho there are directions to not enter the http://www; sometimes we get it or http://;... what is the simplest method to extract just the domain name if a http://www.somedomain_name.com; or http://somedomain_name.com; is enter so we can extract just the somedomain_name.com May want to have a look at the URI module. Not sure if it is part of any particular package, I think it may be part of the stock RH 9.0 install, so I would have a look in @INC and/or CPAN. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sending mail to a group using perl
Its for global group. From: Jon Hogue [EMAIL PROTECTED] To: Sally Librilla [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: sending mail to a group using perl Date: Tue, 08 Jul 2003 08:00:28 -0400 Is this a global group or one you've set up for your personal use? At 05:37 AM 7/8/2003 +, Sally Librilla wrote: Hi, I'm send email using the Mail::SendMail module. I understand how the send To field works for multiple works however, I can't get it to work to send mail to a group existing in my Lotus Notes mailbox. Does anyone knows how i can make it work? Thanks in advance. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]