Hi,
I created a .htaccess file in a folder on my site. Contents of the .htaccess file:
<Files local>
ForceType application/x-httpd-php3
</Files>
In the same folder I created a script= local
contents:
<?php
$url_array = explode("/",$REQUEST_URI);
$url_firstvar = $url_array[2];
$url_secondvar = $url_array[3];
$url_thirdvar = $url_array[4];
if($url_firstvar){
echo $url_firstvar;
}else if($url_secondvar){
echo $url_secondvar;
}else if($url_thirdvar){
echo $url_thirdvar;
}
?>
However, when I tried something like this:
http://202.192.292.222/dir/local/first/second/third/
it didn't work.. it gave me this error:Fatal error: Unable to open /www/htdocs/dir/local/my/name/is in - on line 0
No input file specified.
Any help would be greatly appreciated.