Results 1 to 7 of 7

Thread: "Submit a Picture" code

  1. #1
    Join Date
    Apr 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default "Submit a Picture" code

    Is there a code where users who visit my site can send in a jpg or whatever that goes directly to my e-mail? Thank you.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    Not with just pure html.

    However... this is basically a form.

    The form's "action" will define a next page that:
    1. the browser will go to, kinda like a link
    and 2. will interpret the form's data (text, your picture, whatever)

    If you don't want to deal with php, cgi, asp or something like that, then you'll need to find a free form mailer/interpreter. There are quite a few around.

    Just google it.

    However, most of those just do text.... it'll mail you a comment or whatever.

    You need to find one that also does attachments... that can be trickier.

    Anyway, take a look around google... and maybe some other posts that are related here (probly in different forms that just "html" 'cause this is more advanced than that).

    Make sense?

  3. #3
    Join Date
    Mar 2006
    Location
    SoCal, USofA
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I did see a form that would do that w/o server-side langs, but it was IE-only. And we can't have that, can we?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    A file? It's possible to specify a mailto: target for forms, but it's very unreliable. And I shudder to think what it would make of a file input.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Apr 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Why not simply ask them to send pictures to your gmailbox with a simple
    Code:
    <A HREF="mailto:mygmailbox">send pix</A>
    ?

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    That's a heck of a lot easier

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    What, you mean actually take the easy option?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •