выдернуть картинку из html

Discussion in 'PHP' started by newold, 16 Feb 2010.

  1. newold

    newold New Member

    Joined:
    28 Apr 2009
    Messages:
    21
    Likes Received:
    0
    Reputations:
    0
    подскажите пожалуйста как выдернуть картинку из html страницы
     
  2. apolon47

    apolon47 Banned

    Joined:
    13 Apr 2009
    Messages:
    120
    Likes Received:
    14
    Reputations:
    4
    js, php ?
     
  3. BrainDeaD

    BrainDeaD Elder - Старейшина

    Joined:
    9 Jun 2005
    Messages:
    780
    Likes Received:
    293
    Reputations:
    214
    регулярку с <img src= в любом скрипте и тяни по ссылке.
     
  4. newold

    newold New Member

    Joined:
    28 Apr 2009
    Messages:
    21
    Likes Received:
    0
    Reputations:
    0
  5. newold

    newold New Member

    Joined:
    28 Apr 2009
    Messages:
    21
    Likes Received:
    0
    Reputations:
    0
    а если быть совсем откровенным то нужно вытащить капчу у wordtracker

    урл такой у нее http://image.captchas.net/?client=wordtracker&random=ic57suwgie5saj3d1pnykrzvpaycpspyvkve6ilf&alphabet=abcdefghkmnopqrstuvwxyz&letters=4
     
  6. newold

    newold New Member

    Joined:
    28 Apr 2009
    Messages:
    21
    Likes Received:
    0
    Reputations:
    0
    но естественно урл меняется :)
     
  7. newold

    newold New Member

    Joined:
    28 Apr 2009
    Messages:
    21
    Likes Received:
    0
    Reputations:
    0
    это нужно вписать в скрипт
     
  8. BrainDeaD

    BrainDeaD Elder - Старейшина

    Joined:
    9 Jun 2005
    Messages:
    780
    Likes Received:
    293
    Reputations:
    214
    php: http://captchas.net/sample/php/
    читал?
     
Loading...