ANYone give specifique tutoriabl about fetching anything from any site

Discussion in 'PHP' started by romeo2010, Mar 13, 2008.

  1. #1
    ANYone give specifique tutoriabl about fetching anything from any site?

    like fetching wmv file path from zshare.net

    or flv path from putfile.com
     
    romeo2010, Mar 13, 2008 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    All you have to do is learn regular expressions. And in some cases you'll need cURL or Stream contexts to send data back to the server.

    There's no tutorial for "any" site, since all sites work differently.
     
    nico_swd, Mar 14, 2008 IP
  3. romeo2010

    romeo2010 Peon

    Messages:
    183
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3

    what about the sites that already gives you the information you need in teh source code...

    how can you get that?

    let say in when i check the view source code
    then it shoud src=domain./blalbal/4564.flv


    how do i get that src?
     
    romeo2010, Mar 15, 2008 IP
  4. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #4
    nico_swd, Mar 16, 2008 IP
  5. hosting4cheap

    hosting4cheap Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    any idea on how the following link works it takes video link from zshare

    http://stopleeching.com/Bolly.php?url=http://www.zshare.net/video/3189461ecc00bf/



     
    hosting4cheap, Mar 16, 2008 IP
  6. romeo2010

    romeo2010 Peon

    Messages:
    183
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    romeo2010, Mar 16, 2008 IP
  7. romeo2010

    romeo2010 Peon

    Messages:
    183
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    will give me this source


    Now i want my phpcode return me only

    So i try this


    this is not working anyone can help me to make the code working?
     
    romeo2010, Mar 16, 2008 IP
  8. hosting4cheap

    hosting4cheap Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    yup i m looking 4 the same thing
     
    hosting4cheap, Mar 18, 2008 IP