View Single Post
Old 04-07-2005, 02:35 PM  
wahooter
Registered User
 
Join Date: Dec 2004
Location: san diego
Posts: 50
Start a 500K TGP with 3 Lines of PHP code. NO BS.

Start a TGP with 4 lines of PHP5 Code with the WahooThumbs XML feed.

Results come from our database of over 500,000 galleries. Fully searchable.

The WahooThumbs site runs off this XML feed for all of its results.

Cut and paste the code below into a php file. SERVER MUST BE PHP 5
Code:
<?
$xml = simplexml_load_string(file_get_contents("http://www.wahoothumbs.com/xml/search/?wts=$wts&page=1&sortby=date&catid=26")); 
echo "<form action='{$_SERVER[PHP_SELF]}' method=post><input type=text name=wts value='{$xml->SearchTerm}'><input type=submit></form>";
foreach($xml->ResultElement as $result)
{
  echo "<a href='{$result->URL}' target=_blank><img src='http://www.wahoothumbs.com{$result->ThumbURL}'>{$result->Title}</a><HR>";
}
?>
Any programmer wants to port this code to PHP 4 you can do so.

The code above generates this page.....
http://www.wahoothumbs.com/dood/

Browse WahooThumbs and click the XML button on a search page...
__________________

www.wahoothumbs.com
wahooter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote