This code outputs the price of the KORG Triton Classic at www.music123.com when I run it localy but does not output anthing when I run it on my shared host:
<?php
//- KORG Triton Classic
//- www.music123.com
$GrabURL = "http://www.music123.com/Item/?itemno=57254"; //- The Page Your Grabbing From!
$GrabStart = "<br /><span class=\"datacellsmtext\"><font color=\"#CC0000\">"; //- HTML Code To Start Grab.
$GrabEnd = "</font></span></td><td width=\"8%\" align=\"center\" valign=\"middle\" class=\"whitebg\">"; //- HTML Code To End Grab.
$OpenFile = fopen("$GrabURL", "r");
$RetrieveFile = fread($OpenFile, 30000); //- Reduce This To Save Memory
$GrabData = eregi("$GrabStart(.*)$GrabEnd", $RetrieveFile, $DataPrint);
// $DataPrint[1] = str_replace("", "", $DataPrint[1]); //- For "Replace" purposes!
// $DataPrint[1] = str_replace("", "", $DataPrint[1]); //- For "Replace" purposes!
fclose($OpenFile);
echo $DataPrint[1];
?>