RE: Help! how is this called?Thank you but this won't help me I guess. I could find that info only from within the script, right?
Well, I want to create a program like that Teleport Pro from Windows that spiders a web site and download all the pages from the site. To download the pages is very easy, but the biggest problem is to create the local file names, and to replace all the links from the downloaded pages to make them work locally. Until now, the only problem I found, is that I can't reliably find the file name from the path in all the cases. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] ----- Original Message ----- From: Fisher Mark To: 'Octavian Rasnita' ; [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 11:24 PM Subject: RE: Help! how is this called? > An example is: > > http://www.site.com/script.cfm/dir1/dir2/http://www.site.com/file.html The part after script.cfm (assuming that is the CGI program) will be passed in the PATH_INFO environment variable as "/dir1/dir2/http://www.site.com/file.html". The CGI.pm path_info() function should return this information (it isn't dealt with by LWP). =============================================== Mark Leighton Fisher [EMAIL PROTECTED] Thomson multimedia, Inc. Indianapolis IN "we have tamed lightning and used it to teach sand to think"
