sredhar8 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I am trying to upload a file from a form .. In the first page i am asking user for a name and the file and in the next page i have to display the 'name' as a link and when the link is clicked i need to ope the file in a new window.. i have tired like this
$filename = $query->param("filename"); $content = $query->param("content"); .... ..... print "<a href= $content>$filename</a><br><br></body></html>";
but the link is pointing to 'file:///C:/Documents ' and the whole path is C:/Documents and settings/../... what i am guessing is because of the spaces .. how do i get to do this ?? any help... Thank you, Newbie

Replies are listed 'Best First'.
Re: file uploading
by TVSET (Chaplain) on Apr 22, 2003 at 23:48 UTC