I am a newbie php developer but i understand php code fast. I need to know how to make a page like this:
http://www.terrasip.com/voip_partner6/v ... submit.php
I am so intregued about how they check the url you provided, if their link exist and returns a value back to the page. and if their link exist they add you to their directory database. and if their link doesnt exist on the url u provided. then your site wont be added to the database.
please help me.. i want to implement stuff like this on my website. thank you in advance.
Need Help About Linker Page-> Directory[db]
Moderator: General Moderators
-
slpshtmike
- Forum Newbie
- Posts: 4
- Joined: Sun Apr 09, 2006 11:09 am
I'm also pretty new to php, but I think you can do that with the cURL function.
http://us2.php.net/manual/en/ref.curl.php
http://us2.php.net/manual/en/ref.curl.php
All you have to do is fetch the pages at the submitted URL and see there is a link present. (With http://www.php.net/curl and http://www.php.net/preg_match you should have good resources to get started.)
can you guys please give me a sample code on how to use:
Curl----http://www.php.net/curl
preg_match----http://www.php.net/preg_match
feel free to stick out comments to make a newbie understand. thank you.
Curl----http://www.php.net/curl
preg_match----http://www.php.net/preg_match
feel free to stick out comments to make a newbie understand. thank you.