Re: Check url for form submission

2003-03-11 Thread Fred Sahakian
I may be wrong, but some browser have problems giving referers properly causing your visitor not to be able use your CGI. Rob Dixon [EMAIL PROTECTED] 03/10/03 06:52AM Colin Johnstone wrote: Gidday All, I have found this subroutine in someone else's program I need to modify it so it will

Re: Max Len for string in perl???

2003-03-04 Thread Fred Sahakian
I think I read the other day that it was unlimited, but I could be wrong (might have been PHP). Just keep it as short as possible. Luinrandir Hernsen [EMAIL PROTECTED] 03/04/03 05:43AM Hallo What is the maximum number of charecters in a string? $A=123456789 Lou -- To unsubscribe,

Fixed length variable

2003-02-11 Thread Fred Sahakian
I have data that prints to a flat file database. The data can sometimes be 1, 2, 3, or 4 characters in length. Id like to have it print a fixed length (6 characters) into the database, like this: xyz|fred |xyz instead of xyz|fred|xyz Is there a simple solution? I was going to count

Barcodes

2003-02-04 Thread Fred Sahakian
Does anyone know of any modules that will display Barcodes? I know about Barcodemill.com already but Im looking for something affordable or free. Ive played with the popular barcode.pm, but that creates an actaully EPS or PNG file, I just want to display barcodes in an HTML file. thanks!

Set cookie and then redirect

2003-01-09 Thread Fred Sahakian
Id like to set a cookie in Perl and then redirect to another URL. Ive tried the below code, it will set the cookie but then the browser hangs, is it because it is 2 requests going to the header at the same time, or possibly not enought time for the cookie to be set? print Set-cookie: value=bob;;

Re: Code bar generator

2002-12-10 Thread Fred Sahakian
http://www.fairfieldcomputers.com/barcode/docs.html Never used it though Cleiton Luiz Siqueira [EMAIL PROTECTED] 12/10/02 09:56AM Dear, I'm looking for code bar generator in perl. Either someone knows where can I find one or sending me a example? Thanks in advance, -- Cleiton Luiz

Re: Code bar generator

2002-12-10 Thread Fred Sahakian
This one is good, Ive played with it before and there are no modules to install: http://www.barcodemill.com/ Cleiton Luiz Siqueira [EMAIL PROTECTED] 12/10/02 09:56AM Dear, I'm looking for code bar generator in perl. Either someone knows where can I find one or sending me a example? Thanks

Re: Strict and variables

2002-11-27 Thread Fred Sahakian
:40:14PM -0500, Fred Sahakian wrote: 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

Re: Strict and variables

2002-11-27 Thread Fred Sahakian
that was it, thanks to all! Jenda Krynicky [EMAIL PROTECTED] 11/27/02 11:20AM From: Fred Sahakian [EMAIL PROTECTED] Ok, I was able to get rid of all those error but now the CGI is not picking up the data from the form. Am I using it correctly? When I get rid of the my %FORM; it works

Re: Strict and variables

2002-11-27 Thread Fred Sahakian
Im able to get my script running under strict; now, but I keep seeing this new error: Use of uninitialized value in concatenation (.) or string at volunteer.cgi line 333 What does this mean? Line 333 is in the middle of a print command with a bunch of HTML in it. Any ideas?

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: Strict and variables

2002-11-26 Thread Fred Sahakian
Is that the first time that you are using $FORM in your script? -Original Message- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 1:40 PM To: [EMAIL PROTECTED] Subject: Strict and variables Hello, Im working a program and trying to get the pragma 'strict' to work. I

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 Everyone!

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

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

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

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, I would

RE: What database would your recommend?

2002-06-07 Thread Fred Sahakian
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 To: [EMAIL PROTECTED] Cc: Subject: Re: What database would

RE: What database would your recommend?

2002-06-07 Thread Fred Sahakian
-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 would your recommend? Forgive me Nikola. In this business you need

RE: HTML in E-mail

2002-06-04 Thread Fred Sahakian
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- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:19 PM To: Subject: HTML in E

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

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!

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!

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

RE: URL Fetcher Java/Perl

2002-03-06 Thread Fred Sahakian
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/Perl Dont ask but our servers dont support .SHTML extensions so

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

database to mail

2001-12-24 Thread Fred Sahakian
Hi folks, So I have my mail program printing an e-mail based on info that is in a pipe delimited database. One of the arrays contains HTML paragraph symbols ( P ) which I do not want to appear in the e-mail that is sent out. Any ideas? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

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

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,