[PHP] Re: virtual() ignoring str_replace()

2001-08-19 Thread jimw
Charlie Romero <[EMAIL PROTECTED]> wrote: > $results = virtual("/cgi-bin/search.cgi?q=hello&m=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 (http

[PHP] Re: virtual() ignoring str_replace()

2001-08-19 Thread CC Zona
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=hello&m=world"); > print str_replace("window",