View Single Post
Old 01-07-2004, 12:29 AM   #4
Nosmada
Orange Mole
 
Join Date: Dec 2003
Posts: 32
Getting closer to inserting a dynamic cgi script include

This simple line inserted into search.php does the trick for one word searches:

<? readfile("http://jaspergifts.com/cgi-bin/searchweb/include.cgi?keywords=$query_string&external=1&show=10"); ?>

But when you give phpdig a two word search you get the following:

Warning: readfile("http://jaspergifts.com/cgi-bin/searchweb/include.cgi?keywords=gift baskets&external=1&show=10") - Success in /home/httpd/vhosts/jaspergifts.com/httpdocs/searchsite/search.php on line 558

I am assuming it is the space that it doesn't like. Any ideas?
__________________
Nosmada
Nosmada is offline   Reply With Quote