I have no answers, but maybe these tips will help... 1. The "current directory" when running a CGI isn't always the same when running from the command line.
So if your script is using a relative path for the find operation you could have a problem here. Always use an absolute path or find the current path with the FindBin module. # $Bin is the directory the script is in use FindBin qw($Bin); find(\&wanted, $Bin); 2. Make sure the web server can read the files/directories in question. When you run a command at the command line you are running it with YOUR permissions. Running the same script through a web server runs it with the WEB SERVER's permissions. ...So make sure the web server has permissions to do what is needed. Be careful though to not give the web server more permissions than are absolutely required as this can cause security issues. Beyond that you really need to give more info on your problem. There are a lot of good and great people on this list, but none of them can read a crystal ball. So a good code example would help, along with web server type, any error messages, and anything else that might be remotely relavent. Rob -----Original Message----- From: beginner beginner [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 6:49 AM To: [EMAIL PROTECTED] Subject: Query in Perl & Cgi Hi All, I am trying to run a cgi script which will search through the directory for the input file name mentioned in the link and will show the location of the same on a new web page. I am using File:Find and wanted function to do that but when try to run the same through internet explorer my wanted function is not getting called. Could you please help me out to solve the problem. Thanks, Amit. _____________________________________________________________ Get Your Private, Free Jatt Email at http://www.jatt.com/ _____________________________________________________________ Select your own custom email address for FREE! Get [EMAIL PROTECTED], No Ads, 6MB, IMAP, POP, SMTP & more! http://www.everyone.net/selectmail?campaign=tag -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]