Hello,

Can anybody tell me how to strip XML, Javascript, CSS styles, and other such 'languages' after passing a document with the php file function:

file(http://www.sportal.com");

please?

strip_tags - only seems to do the html and php, not the others mentioned above.

Thank you,

Jason

----------------------------------------------------------
Freddy if you're reading this, that function you posted last time is great, except for the languages mentioned. An example of the problem occurs when trying to parse sportal.com. Is there any way round the problem without having to effectively str_replace (or e_reg) everything please?

Thanks again

Regards...

p.s. I didn't want to e-mail you personally without prior permission.