Forum Moderators: coopster
Here is the form:
<form action="/cgi-bin/search.php" method="GET" >
<input type="text" name="keyword" size="15" />
</form>
Here is search.php:
#!/usr/local/php/bin/php
header('Location: [somewhereelse.org');...]
**misc info
the script perms are 755
AddHandler cgi-script .cgi .php
AddType application/x-httpd-php .php .html .cgi
I maybe using the wrong approach, any ideas are very welcome.
So your PHP installation is setup as CGI as opposed to server module? Seems the configuration is off then, the server hasn't been instructed to parse that extension correctly. Have you double-checked your Installation [php.net]?