how i can get a site img with php

Discussion in 'PHP' started by hatrky co., Jan 16, 2009.

  1. #1
    hello there
    i need to ask how i can get site img with php ?
    jest with any library?
    and does it make Pressure of the server?


    thank u
     
    hatrky co., Jan 16, 2009 IP
  2. fabregas2014

    fabregas2014 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    what do u mean? u want to grab specific image from specific site?
     
    fabregas2014, Jan 16, 2009 IP
  3. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Wait, what?

    header('Content-type: image/gif'); echo file_get_contents('http://www.google.com/intl/en_ALL/images/logo.gif');
    PHP:
    ?
     
    Danltn, Jan 16, 2009 IP