Jump to content

aditya_sfs

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

aditya_sfs's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. No i am a completely noob in this matter. I just played with it a bit reading tutorials etc thinking that i would be able to do it. preg_match("/^(<h5>Page 1 of )|(results</h5>)$/", "$test", $matches); echo "$matches[2]"; Thats what a n00b can write  ;D ;D ;D
  2. Hello guys, I am a PHP newbie and need a bit of help in developing a tool. I need to count the number of backlinks a site has in MSN. For this i search msn for "link:www.domain.com". I use the following code to do this <?php $lines = file('http://search.live.com/results.aspx?q=link%3Adomain.com'); echo "Line #73 : " . htmlspecialchars($lines[73]) . "<br />\n"; ?> Now line 73 is a big complicated HTML string which can be accessed with $lines[73]. Somewhere in the sting, a small part of it is - <h1>link:domain.com</h1><h5>Page 1 of 26,915 results</h5> Now i want to get that number 26,915 out in another variable and also removing out that comma so that i could do arithmetic operations on it. Please help me. I tried to do it for hours but unsuccessful with the preg_match regards Aditya
  3. I am currently making a ranking script to rank sites based on their umber of backlinks. Can anyone tell me how to get number of Google / MSN/ Yahoo backlinks to a site. For example i want to make functions like which when supplied with a URL as parameter could return sum total of MSN / yahoo backlinks to me. Will any one here help me. regards aditya
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.