You are here: Re: File select on server (repeated) « PHP Programming Language « IT news, forums, messages
Re: File select on server (repeated)

Posted by Noodle on 10/29/06 00:11

Shelly wrote:
> (repeated because I forget to add comp.lang.php to the list)
>
> I have an admin interface. I want the admin to be able to select an image
> file on the server and attach it to an email to be sent out to a user. If I
> use type="file", it puts up a browse on the user's machine. Is there a
> comparable thing for use on the server? I could always place these images
> into a special directory and then simply have them listed in a select list.
> However, i was wondering if this more general thing is available. Of
> course, I would ONLY use it in an admin situation.
>
> Shelly

There is no built in browser control (that I know of) that can do this.
Perhaps if you placed your image in a images dir, then used PHP readdir
function to display them as radio (or check box) options that the user
could select to send the email with...just a thought.

http://au2.php.net/readdir

 

Navigation:

[Reply to this 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

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