Strict and variables

2002-11-26 Thread Fred Sahakian
Hello, Im working a program and trying to get the pragma 'strict' to work. I cant define a variable though, Im stuck, any ideas? my $changeaddress = $FORM{'changeaddress'}; I keep getting an error on the $FORM Using "my $FORM{'changeaddress'}" doesnt work. what is the correct way to handle

re: Username & Password Question

2002-07-09 Thread Fred Sahakian
use LWP::Simple; and then a print command such as: print "http://www.yahoo.com\n";; No one will ever know where the page really is since the URL in the browser never changes, the cgi just pulls in the HTML from the real page. >>> Rhen Hernandez <[EMAIL PROTECTED]> 07/08/02 05:42PM >>> Hi

Barcode with Perl

2002-06-25 Thread Fred Sahakian
Anyone know of a program that can create barcodes on the screen from entered numbers? thanks!

HTML form another web site

2002-06-24 Thread Fred Sahakian
Is there an easy way to display the HTML from another website on your page without a redirect? for example, the below CGI just forwards you: #!/usr/local/bin/perl print "Location:http://thecgibin.com/quickcode/redirect.shtml\n\n";; I would mlike a CGI to just get the HTML from another page w

Weather data via Perl-- just sharing

2002-06-13 Thread Fred Sahakian
I got this from a Perl list at Builder.com, I thought it would be interesting to share, something folks may want to include it on their web sites: Retrieve weather data with Geo::WeatherNOAA Perl's WeatherNOAA module gives you easy access to current weather information and short-term forecast

RE: What database would your recommend?

2002-06-07 Thread Fred Sahakian
quot;Marry myself" to one scripting language;) Mike -Original Message- From: Camilo Gonzalez Sent: Fri 6/7/2002 12:12 PM To: 'Nikola Janceski'; Camilo Gonzalez; 'Fred Sahakian'; [EMAIL PROTECTED] Cc: < Subject: RE: What database

RE: What database would your recommend?

2002-06-07 Thread Fred Sahakian
TED]> 06/07/02 11:56AM >>> That's a good point. Are there still advantages to using Perl over using PHP? I'd be bummed to hear I'm using a dying language. -----Original Message- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 10:52 AM T

Re: What database would your recommend?

2002-06-07 Thread Fred Sahakian
depends what you need to do, PHP has become VERY popular >>> "Octavian Rasnita" <[EMAIL PROTECTED]> 06/05/02 10:58PM >>> Hi all, I want to start learning a database that works with Perl but I would like to learn a database that works under Windows and Unix also. Is there such a thing? Of course

Re: How to blank out a form?

2002-06-07 Thread Fred Sahakian
I think what happends is that even though you place the blank field there, the text is still really there, try using the print command on the same page and take a look to see if it actually does erase the data or does it just erase it in the form text area, I had the same problem, I just let pe

Strip Characters from a particular field

2002-06-07 Thread Fred Sahakian
Hi Folks, $value =~tr/+/ /; will remove the "+" from all the form fields and replace it with a space, how can I ask the program to remove the "+" from only ONE particular field? thanks!

RE: HTML in E-mail

2002-06-04 Thread Fred Sahakian
"Content-Type: text/html\n"; print MAIL "To: $comm\@courts.state.ny.us\n"; print MAIL "From: fsahakia\ @courts.state.ny.us\n"; print MAIL "Subject: Forwarded \n\n"; print MAIL "This person has requested \n"; etc... -Original Message- F

HTML in E-mail

2002-06-03 Thread Fred Sahakian
What am doing wrong? Im try to send an e-mail that will appear as formatted HTML, Im missing something but dont know what. In my example below I have a hyperlink which I would like to appear as HTML and a font color, but they appear in the e-mail as raw HTML, what am I leaving out? A Mime?:

Re: Re: Matt Wright

2002-05-20 Thread Fred Sahakian
Is there a simple test to see if a mail program, or any form using Perl CGI for that fact, is a security risk? thanks! >>> Mark Bergeron <[EMAIL PROTECTED]> 05/15/02 10:21PM >>> Hey, this is cool. It's about time to update things around the universe. -Original Message- From: "Camilo Go

Firewall

2002-04-17 Thread Fred Sahakian
Anyone know of a perl script that can determine if a website is actually behind a firewall? thanks!

Text to PDF via Perl

2002-03-18 Thread Fred Sahakian
Hi folks, Ive heard of Perl CGI's that can take inputed data through a webform, put the data into a PDF in the right fields and mail it out, has anyone heard of this? thanks...Fred

apple and oranges

2002-03-06 Thread Fred Sahakian
Hi Crew: Here's one-- Im taking in data through a Perl Script with the following conversion: $value = ~s/Apple/Orange/g; This is fine for new data, but each time the program is run it's taking all the data being entered and turning the apples into oranges, any ideas how I get the program to

RE: URL Fetcher Java/Perl

2002-03-06 Thread Fred Sahakian
uot; "I have a java script" This is a mailing list for *Perl* CGI. Do you have a question relating to Perl CGI? Would you like to share it with us? John -Original Message- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: 06 March 2002 17:23 To: < Subject: URL Fetcher Java

URL Fetcher Java/Perl

2002-03-06 Thread Fred Sahakian
Dont ask but our servers dont support .SHTML extensions so I need a Java script that can do some URL Fetching, or data fetching. I have a java script that works a bit, but can not handle carriage returns in the data file, it will not print if a data file (the fetched document) has a carriage r

Hexadecimal Dictionary

2002-02-05 Thread Fred Sahakian
Anyone know of a good online Hexadecimal Dictionary? I know that %OD%OA is a carriage return, but I need to know what the code is for a quote mark (") as well as a few others..thanks!

Form to Flatfile

2001-12-19 Thread Fred Sahakian
Hi Folks, Here's my dilema. Im trying to send data to a flatfile through a form. When the form passes carriage returns to the flat file I get data that looks like this: 2|12/19/01-09:57|dfddfadfafd|[EMAIL PROTECTED]|tes|start my sentence 1|02/20/01-23:01|Ken|[EMAIL PROTECTED]|Miami|FL||This i

Date

2001-07-25 Thread Fred Sahakian
Im Stuck! I need to figure out how to covert a date such as 10242001 into Epoch time or another format where as I can subtract 2 calendar dates and get a number. thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Perl Time

2001-07-24 Thread Fred Sahakian
How can I convert a date format from: 09042001 into the Epoch seconds? (aka 'time' function) I need to create a formula whereas the entered date must be more than 6 months into the future of todays day. I can get the system to print the epoch time. thanks, Fred -- To unsubscribe, e-mail