using strip_tags() to get rid of sourcecode but ...

This is a discussion on using strip_tags() to get rid of sourcecode but ... within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi, I get a line of a html page into a string which I want to search throug later. Then ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-29-2005
Rolf Brauser
 
Posts: n/a
Default using strip_tags() to get rid of sourcecode but ...

Hi,

I get a line of a html page into a string which I want to search throug
later.
Then I use strip_tags($string) to get rid of the sourcecode - works perfekt
exept that it gives back all between <script language="JavaScript">
badanduglysourcecode </script> , too
How can I work around that?

thanks for any help

Rolf


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:59 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0