Encoding text

2002-09-22 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-22 Thread zentara
On Sat, 21 Sep 2002 15:36:51 -0700, [EMAIL PROTECTED] (Ramon Hildreth) wrote: Hi, my cgi compiles on the command line, but I get an internal server error when I try to access in the browser Well, if it works on the commandline, but not from the browser, then it usually is a permissions problem,

How to get the last_modified date?

2002-09-22 Thread Octavian Rasnita
Hi all, I am using the LWP module and I am trying to get the last modified date of an .shtml page. If the file is an .html, I can get the date with no problem, but if the file is .shtml, the last_modified is . I've tried using the $ENV for a local .shtml file and I had the same result (no

Re: How to get the last_modified date?

2002-09-22 Thread Wiggins d'Anconia
At the server or the client side? perldoc -f stat If you want it on the server side. stat returns specific information about a file on the local filesystem (or one that can be seen locally). http://danconia.org Octavian Rasnita wrote: Hi all, I am using the LWP module and I am trying to

[OT] Sendmail for windows

2002-09-22 Thread Hytham Shehab
hi guys, where can i find/download a free sendmail alternative for win32? thx -- Hytham Shehab -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Sendmail for windows

2002-09-22 Thread Greg Matheson
On Sun, 22 Sep 2002, Hytham Shehab wrote: where can i find/download a free sendmail alternative for win32? Exim has been ported to cygwin, if you have that. But I think there are native Windows MTAs too. -- Greg MathesonThe teacher as the monkey in the works. Chinmin

Re: How to get the last_modified date?

2002-09-22 Thread Jimmy George
Put the ssi !--# echo var=LAST_MODIFIED-- in if you are reading the file from a server. I haven't tried it though. JimmyG -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing array to a gd graphic

2002-09-22 Thread Nelson Goforth
I'm gathering numeric survey data from users with a perl script and then showing their scores on a results page. On this page I want to include a graph of the results. I've written a script that uses gd.PM, but I'm at a loss on how to pass the result set array over to the separate graphing