Have you ever heard or thought of it "run php script w/o extension"?
It's really really fun, actually. Wanna try it? Follow me below.
There are many methods, well, pick one for you.
A – Using Handler
1. Make sure you have Apache server config and run correctly with php script. No kidding here, I have no idea if you use anything other than Apache HTTPD Server ... (suck urself )
2. Open Apache config file, I mean: ~/Apache/conf/httpd.conf
3. Now, look for section: <IfModule mime_module>
Insert these lines, make sure you don’t duplicate anything already exist.
AddHandler server-parsed .php
SetHandler application/x-httpd-php
AddHandler application/x-httpd-php .php
4. Save then restart Apache to reload configuration.
B – Using mod_rewrite
Step 1, 2 do as above.
3. Uncomment to load rewrite module
4. Input these code at the end of the file to define action for rewrite module (mod_rewrite)
RewriteEngine On
RewriteRule ^[^.]+$ - [T=application/x-httpd-php,L]
5. Save then restart Apache.
Try to redo if you failed , and make sure everything is just right.
If you fail to do, it means you SUCK, dude
Have fun!@