Ooh, ah!
function PriceInv()
{
$Source = $this->HTTPWrapper->HTTPRequest("GET", "http://www.gaiaonline.com/profile/inventory.php?type=all",
array("Header" => "http://www.gaiaonline.com/profile/inventory.php"));
$Gold = $this->HTTPWrapper->GetStringBetween($Source,"Gold: </span>", " ");
$Gold = str_replace(",",NULL,$Gold);
$Pattern = '/<img style="cursor: hand;" title="(.*?)" hidden_src="/';
preg_match_all($Pattern,$Source,$Items);
$post = 'environment=0&txt='.urlencode('xtitle="<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans');
foreach($Items[1] as $val)
{
$post .= urlencode('xtitle="'.$val.'" hidden_src="http://');
}
$post .= urlencode("Gold: ".$Gold."\t\t\t ");
$URL = "http://www.tektek.org/gaia/worth.php";
$Header = array("Referer" => "http://www.tektek.org/gaia/worth.php");
$this->HTML = $this->HTTPWrapper->HTTPRequest("POST", $URL, $post, $Header);
$this->SortTekTek();
}
[/1]
rk on porting this to Vb.net
P format