1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

parser url site

Discussion in 'PHP' started by game over, Mar 26, 2013.

  1. #1
    I'm looking for a script that given a url starting I analyze the html code of the site and saves me the email in a db with the fields URL and E-MAIL

    The script must then climb all the links in the page and parse the html check if there are any email.

    technology php / mysql

    accept proposals

    thanks
     
    game over, Mar 26, 2013 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    You want to scrape a site for email addresses and add them to a database with the link to the page where the EMAIL address is found? if so, send me PM as i already got part of the script you need.
     
    EricBruggema, Mar 26, 2013 IP
  3. Vick.Kumar

    Vick.Kumar Active Member

    Messages:
    138
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Hi,

    You can use PHP, Curl, and REGEX to accomplish this.

    Look on the web using Google Search for "php curl examples" for how you can grab a websites content, and store it in a variable.

    Then using Googe Search, look for "php regex example", and use that with the php curl to search for a pattern in what curl retrieved back for you.

    And, then it's simply out putting it to meet your needs.
     
    Vick.Kumar, Mar 27, 2013 IP
  4. game over

    game over Well-Known Member

    Messages:
    412
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Hi [ Vick ]

    thanks for the info
     
    game over, Mar 27, 2013 IP
  5. ChiragKalani

    ChiragKalani Active Member

    Messages:
    41
    Likes Received:
    2
    Best Answers:
    3
    Trophy Points:
    73
    #5
    You can find solution here.
    http://thedigilife.com/email-crawler-scrip-php-mysql/

    As per my understanding, It is full script about what you want to do exactly. Hope this helps you.

    Thanks
     
    ChiragKalani, Apr 12, 2013 IP
    game over likes this.
  6. game over

    game over Well-Known Member

    Messages:
    412
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #6
    thanks [ChiragKalani]

    very interesting script that you specified
     
    game over, Apr 12, 2013 IP
  7. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #7
    ThePHPMaster, Apr 12, 2013 IP