RES: Regular Expression

2002-12-10 Thread Wagner
Hi Joel, Ok... it is working just as i want... No problem if the number is 1.8.6.5.4.3 Thanks, Wagner Garcia Campagner -Mensagem original- De: Joel Hughes [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 10 de dezembro de 2002 12:21 Para: 'perl cgi' Assunto: RE: Regular

Regular Expression

2002-12-10 Thread Wagner
Hello, I have this regular expression: $List =~ /^(?:(\d+)\*)?(\w+)\/(?:(\d+)\*)?(\w+)$/; It checks for a string like this: number*word/number*word But it only accept integer number... Does anybody knows how to change it to accept decimal numbers like 0.1??? Thanks, Wagner Garcia Campagner

Script expiring

2001-12-21 Thread Wagner Garcia Campagner
??? Thanks in advance, Wagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

auto-submit question again....

2001-12-13 Thread Wagner Garcia Campagner
ct to the selected script but sending some variables too i can't do that i'm thinking about it for days and can't find a solution. Thanks in advance, Wagner Garcia Campagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

problems with gd.pm

2001-12-12 Thread Wagner Garcia Campagner
Hi, I'm trying to compile a script that is using gd.pm. But it seems that this library is not installed in my activestate version (5.6.1.629). Is there a way for me to use this script with this version of activestate or use another library? Thanks in advance, Wagner -- To unsubs

RE: encrypt Pass

2001-12-06 Thread Wagner Garcia Campagner
Hi Christo, you can use MD5 or Sha-1 read the documentation on the topic: Digest Thanks, Wagner. -Original Message- From: Christo Rademeyer [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 6 de dezembro de 2001 13:04 To: [EMAIL PROTECTED] Subject: encrypt Pass Hi how must I go to

variables using blank spaces

2001-12-04 Thread Wagner Garcia Campagner
in advance, Wagner Garcia Campagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

deleting a file

2001-11-23 Thread Wagner Garcia Campagner
Hi, Sorry for the stupid question, but i didn't find in the FAQ. What is the sintax to delete a file??? Thanks in advance, Wagner Garcia Campagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

file permissions

2001-11-22 Thread Wagner Garcia Campagner
o success... Thanks in advance, Wagner Garcia Campagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

file permissions

2001-11-20 Thread Wagner Garcia Campagner
but i got no success... Thanks in advance, Wagner Garcia Campagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

testing for special caracters...

2001-11-19 Thread Wagner Garcia Campagner
Hi, I'm trying to test a variable for special caracters... but i'm not having success... I'm doing: if ($var =~ \w) { .. } But it doesn't work. Thanks in advance, Wagner Garcia Campagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Remove a specific line from a file

2001-11-14 Thread Wagner Garcia Campagner
Hi, how can i remove a specific line from a txt file the file is list of users this way: user1 user2 user3 .. .. .. userN In my script i have the following: $remove eq 'user3'; (for example) so how can i tell perl to remove the third line of this file Thanks in advan

End of File

2001-11-08 Thread Wagner Garcia Campagner
Hi, I don't know how to tell perl EOF, i am doing a search in a file like this: $username eq 'wagner'; $file = 'c:\file'; open(INFO, $file); do { $lines = ; chop $lines; } while ($lines !~/$username/); close(INFO); The problem is if the file doesn't have a

Auto Submit

2001-10-16 Thread Wagner Garcia Campagner
N'T WANT THE USER TO CLICK #ON THE SUBMIT BUTTON WHEN IT HAPPENS, I WANT IT TO AUTO SUBMIT... print "Content-type:text/html\n\n"; print < EndOfHTML } Thanks again, Wagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: security in perl

2001-10-11 Thread Wagner Garcia Campagner
o use md5 or sha-1 to solve it. Thank again, Wagner. -Original Message- From: Brent Michalski [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 11, 2001 1:22 PM To: Wagner Garcia Campagner Cc: [EMAIL PROTECTED] Subject: Re: security in perl Please forgive the formatting of this message, I a

security in perl

2001-10-10 Thread Wagner Garcia Campagner
is when i do "view source" on the page1.pl I can see the username and the password in plain text Is there a way for me to pass this information to page2.pl without everyone see it when "view source" is used??? Thanks in advance and forgive me for this long text, Wagner.  

formating variables again...

2001-10-01 Thread Wagner Garcia Campagner
Hi, I have a variable $var = 34.5678 If I printf ("%.2f", $var); Then $var = 34.56 Is there a way for me to format $var to became 34,56 instead of 34.56 ??? Thanks, Wagner. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

formating variables again...

2001-10-01 Thread Wagner Garcia Campagner
Hi, I have a variable $var = 34.5678 If I printf ("%.2f", $var); Then $var = 34.56 Is there a way for me to format $var to became 34,56 instead of 34.56 ??? Thanks, Wagner. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Boolean operators...

2001-09-28 Thread Wagner
f" || $password2 ne "pass2")) { print "dfdfsafsa"; } it is not working is these boolean operators right??? Thanks in advance, Wagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

redirection with perl

2001-09-26 Thread Wagner
t... Thanks in advance Wagner. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

aanother simple question

2001-09-20 Thread Wagner
blem is that $host1 aways get the first valur (ACCESSO 1) even if its value is access_2... I may be doing some mistake in the if line Thanks, Wagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FW: formating variables

2001-09-18 Thread Wagner
i put the $ symbol? The script interpert it as a variable and i just want the caracter... Thanks in advance, Wagner. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: editing script

2001-09-13 Thread Wagner
Hi Gunther; I've tryed to save the picture in the file but it didn't work. The script is going as an attachment for you to take a look. My modifications are in the end of the file. Thank for your help in advance, Wagner -Original Message- From: Gunther Birznieks [mai

editing script

2001-09-13 Thread Wagner
xample, if i have a valiable: $file = 'c:\dir\asdf.asd', Then i try to put in the doc this way: print "$file"; But when i run it apears $file in the .html doc and i wanted to see c:\dir\asdf.asd Thanks in advance, Wagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]