Encoding text

2002-09-21 Thread Mike Craig
Hi, I want to encode a string using the translate function. decoding is well documented by $value =~ tr/+/ /; $value = s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; what i would like to do is to use the translate command to replace just the special

RE: text/area editing

2002-09-21 Thread Ramon Hildreth
Hi, my cgi compiles on the command line, but I get an internal server error when I try to access in the browser use strict; use warnings; my $file_name=''; my $content=''; $file_name = 'testfile'; open TEXT, $file_name or die "couldn't open '$file_name' for reading: $!\n"; while () {

Re: Database Normalization ?

2002-09-21 Thread Janek Schleicher
Mmkhajah wrote at Sat, 21 Sep 2002 13:20:14 +0200: > I wonder if it's better to use database normalization solution when dealing with >Flat Files databases ? And your Perl-CGI question is ... ? It's a good question, but I think you better should ask it in a database newsgroup. The only answe

Re: text/area editing

2002-09-21 Thread zentara
On Sat, 21 Sep 2002 06:04:56 -0700, [EMAIL PROTECTED] (Ramon Hildreth) wrote: >Hi, >I would like to create a form that loads text into a text/area box for >editing. So far in the books that I have >I only see how you can post that is added to the text/area only. In my case >I would like the html

Re: Creating thumbnails (Newbie Question)...

2002-09-21 Thread Randal L. Schwartz
> "Joel" == Joel Hughes <[EMAIL PROTECTED]> writes: Joel> After you have install image magick, the basic syntax is... Joel> use Image::Magick; Joel> $p = new Image::Magick; Joel> $p->Read(..your main image...); Joel> $p->Scale(width=>$required_width,

Re: MD5 & SHA-1

2002-09-21 Thread zentara
On Sat, 21 Sep 2002 10:29:25 +1000, [EMAIL PROTECTED] (Jimmy George) wrote: >I thought 'encryption' was supposed to make the data transmitted from >user to server into an unreadable block of garbage. Able to be decoded >by the server of course - but of no use to any one else who tapped into >the

text/area editing

2002-09-21 Thread Ramon Hildreth
Hi, I would like to create a form that loads text into a text/area box for editing. So far in the books that I have I only see how you can post that is added to the text/area only. In my case I would like the html or cgi page to load with the text/area box already containing text. Is there a good

Database Normalization ?

2002-09-21 Thread MMKHAJAH
Hello Everyone, I wonder if it's better to use database normalization solution when dealing with Flat Files databases ?