is there a way to run php script with out the .php extension, like, if i have hello.php on my website usually it would execute by www.mydomain.com/hello.php but i would like to be able to use www.mydomain.com/hello to execute it. Is there a way to do that?
If you're running apache there is: Put the following in your .htaccess file:
<Files hello> ForceType application/x-httpd-php </Files>
and name your file 'hello' instead of 'hello.php'.
You could also use mod_rewrite to do it.
do i have to do it with all the scripts, is there a way to just do it one time and it will work for all script