ginocote Posted July 1, 2006 Share Posted July 1, 2006 Help to request a external web pageHi need help to show a external webpage results from a keyword search in my website.I don't know very musch about PHPIn my website, we can find many informations about domains names[url=http://www.toolurl.com]www.toolurl.com[/url]In my main search, i want to add the Sedo api search request.Sedo page results for keyword book: http://www.sedo.com/search/keysearch.php4?key=bookfor this example i placed the keyword "book" at the endI want to show the result in my web page in a tablebook.bz#book.gr#book.fm#book.gs#book.es#And the results should be clickable (blank link) so i can redirect user to Sedo with my affiliate numberThe link will send user to someting like that ([url=http://www.sedo.com/search/showdetails.php4?partnerid=12345&language=fr&keyword=book.info]make a offer for book.info[/url]):[url=http://www.sedo.com/search/showdetails.php4?partnerid=12345&language=fr&keyword=book.info]http://www.sedo.com/search/showdetails.php4?partnerid=12345&language=fr&keyword=book.info[/url]i just begin i for now, i only find how to grab the plain information with this code:[code]<?php$fichier = fopen("http://www.sedo.com/search/keysearch.php4?key=book", "r"); //ouverture en lecture/ecriture$str = fread($fichier, 500); //lecture du fichierecho $str; //affichage du contenu du fichierfclose($fichier); //fermeture du fichier ?>[/code]here the my test page: http://www.toolurl.com/testsearchkeywords.phpI need 3 thingsreplace the word book with the search queryput my results in a tableAll results become a link to Sedo with my affid and the right keyword resultsOne of these result could look like that[url=http://www.sedo.com/search/showdetails.php4?partnerid=12345&language=fr&keyword=book.info]book.info[/url]Thank you to help meGino Quote Link to comment https://forums.phpfreaks.com/topic/13400-help-to-request-a-external-page/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.