Tell me how to set a page as a home page in a php based site?
Answer / Ravishankar
To set a specific PHP file as the homepage of your website, you can modify the .htaccess file or server configuration files (such as httpd.conf for Apache servers) to specify the file path for the default index. You can also create an .htaccess file in the root directory and add 'DirectoryIndex filename' to specify the PHP file you want to use as the homepage.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the differences between PHP3 and PHP4 versions?
What is whitespace in php?
hi here one small project given to me in an software company during interview. one page that would count down till 9pm (today means every day before 9pm it would count down to zero) this means there will show how many mins. sec. and hours are left till 9pm so it would be like 1 hr 20 mins 23 sec. then it up count down every sec and then show 1hr 20mins 22sec left till 9pm once the count down reaches zero it would show a flesh player video will autostart. the flash player will be from http://www.longtailvideo.com/players/jw-flv-player/ (the player is embed into the page.) that same page will track to see if they have already seen the video using php sessions then if they go back to that page it would redirect them to a new page saying that they have already wathed the video.
What is regular expression in php?
Write a php function to convert all null values to blank?
What is the difference between print() and echo() in PHP?
How to set cookies in PHP?
Where is session value stored php?
Is php easy language to learn?
What is the difference between get and post method in php?
i have saved the password in encrypted format in database. now i want how to retrive the password in decrypted format.
How do you access a get requests url parameter with php?