|
Posted by Shelly on 10/29/06 02:08
"Noodle" <neilang@gmail.com> wrote in message
news:1162080705.321524.203770@b28g2000cwb.googlegroups.com...
>
> 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
>
Thanks. As for your suggestion, that is what I said above that I could do.
Shelly
Navigation:
[Reply to this message]
|