passing "%20" in a url to Perl via CGI
Madison Kelly
linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri Aug 6 14:01:39 UTC 2004
Lennart Sorensen wrote:
> On Fri, Aug 06, 2004 at 09:21:28AM -0400, Madison Kelly wrote:
>
>> I've heard this before and I have been too distracted to look into it
>>deeper (I had other code to write and that "worked"). Now though it's
>>getting more important because the file scan can take a -long- time. Can
>>I use 'readdir' to get the same information that I can get with:
>>
>>ls -lAh --full-time
>>
>>?
>>
>>It's very important that I get as much information on each file and
>>directory as possible. Thanks!!
>
>
> You use readdir() to get the files in the dir, and then use stat() to get
> everything you could ever want to know about the file. That is exactly
> what ls does in a seperate process. It's not very hard to use. Saves a
> bunch of text parsing too.
>
> Lennart Sorensen
Thanks, I'll give it a run once I get this other (now javascript) bug
quashed. :p
Madison
ps - Everyone here on TLUG is wonderful, thanks so much for all of your
(repeated) help!!
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list