str_replace
| From: | Sebastian | Date: | Sat, 15 Mar 2003 05:15:58 +0000 |
| Subject: | str_replace | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139778@lists.php.net to get a copy of this message | ||
This may seem weird:
How do I str_replace an include function?
I want to replace this line: include("$header");
with nothing ..
something like this:
$footer = str_replace(" '. include("$header"); .' ", "",
$footer);
I get errors, any ideas?
cheers,
- Sebastian