Home > Archive > PHP Language > October 2006 > File select on server (repeated)
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
File select on server (repeated)
|
|
| Shelly 2006-10-30, 7:03 pm |
| (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
| |
| Noodle 2006-10-30, 7:03 pm |
|
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
| |
| Shelly 2006-10-30, 7:03 pm |
|
"Noodle" <neilang@gmail.com> wrote in message
news:1162080705.321524.203770@b28g2000cwb.googlegroups.com...
>
> Shelly wrote:
>
> 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
|
|
|
|
|