> But I use PCRE functions, so I don't want to use ereg in one place and PCRE > in another, so I tried: > > $file = preg_replace("#<script.*>.*</script>#i", "<!-- RWW: Scripting > killed -->", $file); '/<script.*>.*?<\/script>/i' -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] What's wrong with this code? Tyler Longren
- Re: [PHP] What's wrong with this code? Alexander Wagner
- Re: [PHP] What's wrong with this code? Chris Fry
- Re: [PHP] What's wrong with this code? Geir Eivind Mork
- Re: [PHP] What's wrong with this code? David Bouw
- [PHP] What's wrong with this code? Plutarck
- Re: [PHP] What's wrong with this code? CC Zona
- Re: [PHP] What's wrong with this code? Rasmus Lerdorf
- Re: [PHP] What's wrong with this code? Plutarck
- Re: [PHP] What's wrong with this code? Christian Reiniger
- Re: [PHP] What's wrong with this ... Plutarck
- Re: [PHP] What's wrong with t... Christian Reiniger
- Re: [PHP] What's wrong wi... Plutarck
- Re: [PHP] What's wrong with this code? James Holloway