Click Here
This is a demo on how to submit a trader to ebay retrieve the document then strip out all of the ebay stuff. You can give it your sites look and feel by imbedding this inside of your html code. Simply insert a Ebay traders name below and all of his/her current auctions will be produced.

View the source
You must place a Trader name in the text field!

"; }else{ if($lookUpTrader) { $trader = ltrim(chop($trader)); //Function getTraderAuctions() //building the request string $url = 'http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?'; $url .='MfcISAPICommand=ViewListedItems&userid='; $url .="$trader"; $url .='&include=0&since=-1&sort=1'; //change to an array $lines_array = file($url); $lines_string = implode('', $lines_array); eregi(" (.*)

", $lines_string, $ebay); //echo $ebay[0]; //This function ads the new window reference to the string if ($ebay[0]==""){ echo "

Sorry there are no current Auctions on Ebay for $trader

"; } else { echo "

$trader's Current Ebay Auctions

"; echo ereg_replace( " [hH][rR][eE][fF]", " TARGET=\"awindow\" href", $ebay[0] ); //echo ereg_replace( " href=\"http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?ReturnUserEmail&requested=", " TARGET=\"awindow\" HREF=\"http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?userid=auction@jtlnet.com&pass=jtlee123ReturnUserEmail&requested=", $ebay[0] ); echo "
"; $ebay = ""; } } else { if($trader!=""){ echo "

Please click the submit button!

"; } ?>