[EMAIL PROTECTED] wrote:
how to encrypt a text file and decrypt it with perl?
for example, I have a config file,
svr.conf
I want to encrypt it to svr.conf.encrypt.
But I should also have the ability to decrypt the encryped one to the
original text.
when using crypt
Mr. Shawn H. Corey wrote:
$UploadedImage = 'badname\'s.jpg' ;
if ( $UploadedImage =~ m/'/ ) {
...
How do I match the ' ?
You match it exactly like you're doing. Since CGI is involved, I'd look
elsewhere from the problem. Are you absolutely certain that some
software between the browser a
I have a thing driving me NUTS trying to detect a ' in a variable
with regex, and either strip it out or at least detect and error out.
for instance, this just does NOT work.
$UploadedImage = 'badname\'s.jpg' ;
if ( $UploadedImage =~ m/'/ ) {
&Warning_Status( $cCgiStatusFile ,