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,
Charlie Romero [EMAIL PROTECTED] wrote:
$results = virtual(/cgi-bin/search.cgi?q=hellom=world);
virtual doesn't return the content of the subrequest, it sends it to
the browser.
you need to use something like popen() to do what you're trying
to do.
jim
--
PHP General Mailing List
2 matches
Mail list logo