Jump to content

Archived

This topic is now archived and is closed to further replies.

ginocote

Help to request a external page

Recommended Posts

Help to request a external web page

Hi need help to show a external webpage results from a keyword search in my website.

I don't know very musch about PHP

In 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=book
for this example i placed the keyword "book" at the end

I want to show the result in my web page in a table
book.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 number

The 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 fichier
echo $str; //affichage du contenu du fichier
fclose($fichier); //fermeture du fichier
?>[/code]

here the my test page: http://www.toolurl.com/testsearchkeywords.php

I need 3 things
replace the word book with the search query
put my results in a table
All results become a link to Sedo with my affid and the right keyword results
One 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 me

Gino

Share this post


Link to post
Share on other sites

×

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.