File select on server (repeated)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shelly

    File select on server (repeated)

    (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

    #2
    Re: File select on server (repeated)


    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.



    Comment

    • Shelly

      #3
      Re: File select on server (repeated)


      "Noodle" <neilang@gmail. comwrote in message
      news:1162080705 .321524.203770@ b28g2000cwb.goo glegroups.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.
      >

      >
      Thanks. As for your suggestion, that is what I said above that I could do.

      Shelly


      Comment

      Working...