|
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]
|