MySQL Forums
Forum List  »  Perl

Re: fetch a problem in perl programming.
Posted by: Felix Geerinckx
Date: May 17, 2005 05:12AM

arupratan biswas wrote:

> print "<input type='file' name='photo value='@host[6]'>";

You are missing a quote here, and you should write $host[6] instead of @host[6].

> plz help me out from that critical situation.

For security reasons, any sensible web browser will ignore the VALUE tag in an <INPUT TYPE="FILE">.
And I don't think it makes sense either, since it refers to a local file. What if the user goes to your page from another computer?

Please use BBCode to format your messages in this forum.

Options: ReplyQuote

Written By
Re: fetch a problem in perl programming.
May 17, 2005 05:12AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.