Possible Duplicate:
Making variable from HTML-file work in PHP-file
I have another file (HTML-file) that passes an argument to this PHP-file. It does so I have checked it with "echo" and it throws back the same argument I wrote in the HTML-file, so so far, so good. The PHP-file looks like this.
<?
$filepath = "/usr/sbin";
exec("ONE $search -command $filepath ");
fopen($filepath, "rw");
?>
The command "ONE" which is a bash-script I wrote to do some "greps" in files takes one argument and that is "$search" which in deed is passed over to this PHP-file. And if I exchange "$search" to the actual word "searchword" it works like a charm. Why doesn't it accept "$search" as argument? It just seem to ignore it and throws back a blank page, but if I use "searchword" it gives back just what I want.
$search?$search = $_REQUEST["search"];, then?