* Thus wrote Louie Miranda ([EMAIL PROTECTED]):
> I have seen similar sites that runs php. but without the extension.
> 
> like: example.com/hello/great?ID=19
> 
> How can i do this? Run the php even without the .php extension

if you add a .htaccess file in the /hello/ directory with something
like (assuming apache as webserver):

<Files great>
SetHandler   application/x-httpd-php
</Files>

A file called great will be parsed as php.

Or in /

<Files hello>
SetHandler   application/x-httpd-php
</Files>

then the file hello will be ran as php and $_SERVER['PATH_INFO']
will contain '/great'


Have fun :)

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to