Page 2 of 2
Posted: Tue Mar 13, 2007 4:54 am
by dude81
Can you just paste what $file returns here i.e from the actual server. I've some problem accessing your site from my side.
Posted: Tue Mar 13, 2007 5:01 am
by kerna
dude81 wrote:Can you just paste what $file returns here i.e from the actual server. I've some problem accessing your site from my side.
When i print $file it just brings up the source for the
http://www.sportinglife.com/football/pr ... table.html which basically just loads up exactly whats on that website.
Is that what you need to know?
Posted: Tue Mar 13, 2007 5:32 am
by dude81
Sorry, that is not what I was looking for. I just need the output of the server for $file on which it doesnt work.
Posted: Tue Mar 13, 2007 5:40 am
by kerna
dude81 wrote:Sorry, that is not what I was looking for. I just need the output of the server for $file on which it doesnt work.
<body>
Array
(
)
</body>
Posted: Tue Mar 13, 2007 5:51 am
by dude81
that means $file doesn't return anything.
Posted: Wed Mar 14, 2007 3:56 am
by kerna
Is it possible the regex pattern is wrong, and hence is matching nothing from $file?
Im getting confused here. I believe i have the right program running with preg_match or preg_match_all but dont udnerstand why its coming up with nothing. Must be something small im doing wrong
Posted: Wed Mar 14, 2007 4:28 am
by dude81
Ok try debugging regex, field by field i.e make a small regex for <tr> first , then the next field i.e<td>,<td align> and so from the existing regex.