Welcome Over the last 2 days I did not extracts data from the left before the Traffic rapidshare.com rapidshare modification to work properly Rapidshare.com
If you are trying ot take this 1000 out then I can help. I dont know regular expression, so am gona do using some explodes: $data = "<td>Traffic left:</td><td align=right><b><script>document.write(setzeTT(\"\"+Math.ceil(0/1000)));</script> MB</b></td>"; list($crap,$num) = explode("Math.ceil(",$data); list($crap,$num) = explode("/",$num); $num = intval($num); print $num;
What my code is getting you is the valu bold in there: <td>Traffic left:</td><td align=right><b><script>document.write(setzeTT(""+Math.ceil(0/1000)));</script> MB</b></td> Do you need to get result of expression in ceil function "0/1000" ? regards
Sorry cant understand what exactly you are willing to express by "I am to be in a similar construction as that which gave" regards