ok using this approach,if the content of the page you are accessing is dynamic(which is most of the time)
$section = file_get_contents('./yourFile.php', NULL, NULL, 20, 14);
will return different part every time the page is changed.
file_get_contents will return the html source(from top header,meta to /html) code of the page(file) you access in string format.
The content may be different but structure of the file may be same
for eg,if you want to get values between
<table><tr><td>value--can be anything</td>
so you can use those kind of information to write an regular expression and get the value which will be much generic...
I mean run regular expression over string obtained from file_get_contents and get the value you want.