PHP files without extension

software development


As I can see, only .php files will be interpreted like a php program in websites. I would need files without extension to be interpreted as php script as well. Is there any way to do it?


it should execute the dropusers script done in php.
How could I do it?


i do something similar to what i think you want. i use .htaccess to add the .php extension to all my php-based pages so that my URLs don’t need an extension of .php or whatever… if you just want the one URL above pointed to dropusers.php, just do a simple rewrite with .htaccess