Re: [PHP] Ridding myself of HTML tags

2002-08-31 Thread Paul Roberts
: [PHP] Ridding myself of HTML tags Liam, If you were to stristr()/remove everything up to and including the /head tag, would that take care of things? =dn I've got a lil problem with HTML tags. Here's the description. My site accepts HTML files by upload. A lot of these files

[PHP] Ridding myself of HTML tags

2002-08-30 Thread Liam . Gibbs
I've got a lil problem with HTML tags. Here's the description. My site accepts HTML files by upload. A lot of these files are written in MS Word and then saved as HTML files from that. MS Word likes to put a bunch of garbage at the beginning of the file. Now, when users upload their HTML files,

Re: [PHP] Ridding myself of HTML tags

2002-08-30 Thread DL Neil
Liam, If you were to stristr()/remove everything up to and including the /head tag, would that take care of things? =dn I've got a lil problem with HTML tags. Here's the description. My site accepts HTML files by upload. A lot of these files are written in MS Word and then saved as HTML