[thelist] File manipulation tutorials with PHP/ helpful resources

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Mon Mar 24 04:53:32 CST 2003


> -----Message d'origine-----
> De : thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org]De la part de Tony Crockford
> 
> What I'd like to do is open an html file, strip out the 
> content between
> the <body></body> tags so that I can insert it into my own template.
> 
> Has anyone got any good resources or tutorials I could read to help me
> accomplish this simple sounding task.
> 
> I have no idea where to start! ;o)

Tony,
You're looking for a RegExp that strips your code, or an alternate solution I found here:
http://p2p.wrox.com/archive/pro_php/2002-12/6.asp

HTH

s t e f
http://www.nota-bene.org/



More information about the thelist mailing list