Image Uploading [may not be what you think]

Discussion in 'PHP' started by Thirtysixway, Jun 29, 2008.

  1. #1
    Hello all.

    I'm looking at creating a script that will upload an image to somewhere like tinypic, and grab the resulting URL and display it to the user. Does anyone know how I should go about doing this?

    My idea eventually is to have the image go in this order

    User -> My webserver -> multiple image hosts

    I can already handle user uploads to my server, but I really don't know how to start an upload with php.
     
    Thirtysixway, Jun 29, 2008 IP
  2. King Goilio

    King Goilio Member

    Messages:
    200
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    33
    #2
    use cURL to send them to the other servers
     
    King Goilio, Jun 29, 2008 IP
  3. Thirtysixway

    Thirtysixway Peon

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks. I found some information on it, and I got it to work.
     
    Thirtysixway, Jun 29, 2008 IP
  4. King Goilio

    King Goilio Member

    Messages:
    200
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    33
    #4
    Glad that I could help
     
    King Goilio, Jun 29, 2008 IP