How can i change the extension name like i have a page which
name aboutme.php but i want to show it aboutme.php3 or
aboutme.aspx?

Answer Posted / vipul dalwala

You need to add following lines under <IfModule
mod_mime.c> ......... </IfModule> block.

AddType application/x-httpd-php .php3
AddType application/x-httpd-php .aspx

For example:

<IfModule mod_mime.c>
AddType application/x-httpd-php .php
..................
..................
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .aspx
</IfModule>

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do the initials of php stand for?

553


How to get a random value from a php array?

532


What is the php function that removes the first element of the array and returns it?

490


What is the difference between require and include in php?

490


How to parse configuration file in php?

514






How do you check if a variable has been set in php?

493


What is the difference between the functions strstr() and stristr()?

522


How can we check the value of a given variable is alphanumeric?

514


What would occur if a fatal error was thrown in your php program?

521


Explain PHP?

593


What is sticky form in php?

480


What is cms php?

481


Why does php need server?

504


What are the different tables(engine) present in mysql, which one is default?

489


Is PHP an open source software?

561