Thread: regex (yuck)
View Single Post
  #8 (permalink)  
Old 08-08-2006, 12:22 AM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,569
Last Blog:
Tidy up your HTML
Credits: 0
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

eh i changed my username, but if you feel like give it another shot i changed it back.

anyway lets look beyond trying to get the script to work on your servers, it works on mine fine except for the regex. I think the problem arrises with the string itself. Obviousally the pattern the regex is trying to parse is different from what is being outputed when i echo the $stats string. (well thats the only thing i can conclude)

So what goes on in these functions that could cause a difference in the actual content verse the echoed content?

$content = file_get_contents($url);
$strip = strip_tags($content);
Reply With Quote