virtual() ignoring str_replace()
| From: | Charlie Romero | Date: | Sun, 19 Aug 2001 15:41:33 +0000 |
| Subject: | virtual() ignoring str_replace() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63401@lists.php.net to get a copy of this message | ||
I'm trying to include a .cgi using the virtual() function and then do a
string replace on a string w/in the included page. The virtual seems to
ignore the str_replace it just prints the virtual include w/out replacing
the word "window" w/ the word "DOG" in my example. What am I doing wrong?
<?
$results = virtual("/cgi-bin/search.cgi?q=hello&m=world");
print str_replace("window", "DOG", $results);
?>
TIA,
Charlie