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);




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]

Reply via email to