Reply to Re: Existing file name

Your name:

Reply:


Posted by Derek @ Blueyonder on 07/12/06 14:57

>> I am retrieving a fielname for a picture in PHP/MySQL and would like
>> the existing filename that is being retrieved from the database to be
>> shown in a file input. How do I do this please?
>
> It's a security issue, you can't set the value of the file input.
> What would stop you to make it a hidden input and enter a name usually
> found
> in an OS containing private information?
>
> If it's a file that's on your server, just use a text-input, and act
> accordingly after posting the form.
>
> Grtz,
> --
> Rik Wasmus
>
>

Hi

Thank you for your reply.

I have done as you suggested and it works fine.

Many thanks


Derek

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация