In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Charlie Romero) wrote:
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=hellom=world);
print str_replace(window, DOG, $results);
str_replace() is case-sensitive. If $results is returning a string like
Windows are nice (it would help to see the actual string next time...hint
hint), it won't match window.
--
CC
--
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]