remote image upload

Discussion in 'PHP' started by jpinheiro, Nov 26, 2009.

  1. #1
    hello,

    does anyone know how to do remote image upload with php for the following filetypes:

    .bmp, .gif, .ico, .jpg, .png, .tiff

    -John
     
    jpinheiro, Nov 26, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    use the copy function
     
    Bohra, Nov 26, 2009 IP
  3. mukunthan

    mukunthan Active Member

    Messages:
    237
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    file_put_contents('file_name_here.jpg', file_get_contents('http://url.com/here.jpg'));
     
    mukunthan, Nov 27, 2009 IP
  4. RaulG

    RaulG Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    help offered 100U$S glraul@gmail.com
     
    RaulG, Dec 1, 2009 IP
  5. Gray Fox

    Gray Fox Well-Known Member

    Messages:
    196
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Gray Fox, Dec 1, 2009 IP