in reply to Re^3: Problem linking a file in CGI script
in thread Problem linking a file in CGI script

Hi,

The scenario is, i am developing a web space wherein users can upload their files to my server and can view them whenever required.

I succeeded in accomplishing the upload task and i am able to list the files in the directory. But i am not able to add the feature of providing links to the files.

Does this mean i will not be able to provide the link feature at all?

  • Comment on Re^4: Problem linking a file in CGI script

Replies are listed 'Best First'.
Re^5: Problem linking a file in CGI script
by Corion (Patriarch) on Oct 29, 2009 at 17:30 UTC

    Then, file:// will not work anyway, because file:// urls only work locally. Most likely you will want to use <a href=".../$filename">$filename</a> style links and serve the files to your users through your webserver.