when to use index php instead of index html

0 votes
I wanted to know when do I need to use an index.php page. For example, in this scenario, A simple login page on my index page could be a simple HTML page. Right? Then why would I want to make it index.php instead of index.html?

Can someone explain this to me?
May 30, 2022 in PHP by Kichu
• 19,050 points
388 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In PHP

0 votes
1 answer

How to merge two arrays while keeping keys instead of reindexing in php?

Hello, Considering that you have $replaced = array('1' => ...READ MORE

answered Apr 1, 2020 in PHP by Niroj
• 82,880 points
2,435 views
0 votes
1 answer

How to override the path of PHP to use the MAMP path?

Hello @kartik, In your home folder /Users/David for exmaple, you ...READ MORE

answered Nov 3, 2020 in PHP by Niroj
• 82,880 points
1,696 views
0 votes
0 answers

When to use Final in PHP?

Although I am aware of what a ...READ MORE

Jul 24, 2022 in PHP by Kithuzzz
• 38,010 points
241 views
0 votes
1 answer

How to validate E-mail and URL of Php form?

hey, The code below shows a simple way ...READ MORE

answered Feb 13, 2020 in PHP by manish
1,990 views
0 votes
1 answer

What is the use of $_REQUEST variable in php?

Hii @kartik, The $_REQUEST variable is used to read the ...READ MORE

answered Mar 27, 2020 in PHP by Niroj
• 82,880 points
2,742 views
0 votes
1 answer

How to prevent XSS with HTML/PHP?

Hello, HTML Encoding htmlspecialchars will convert any "HTML special characters" ...READ MORE

answered Apr 1, 2020 in PHP by Niroj
• 82,880 points
897 views
0 votes
0 answers
0 votes
1 answer

Open-Source Forum with API

phpBB would be the first that comes ...READ MORE

answered Mar 5, 2019 in Python by SDeb
• 13,300 points
502 views
0 votes
1 answer

How to access url for the current if statement of laravel?

Hello @ subham , If you want to access the ...READ MORE

answered Aug 7, 2020 in Laravel by Niroj
• 82,880 points
939 views
0 votes
0 answers

php records navigation

Code: <?php $host='localhost'; $user='root'; $password='root'; $database='database'; $startindex=@$_REQUEST['seek']; $db=mysql_connect($host, ...READ MORE

Aug 8, 2022 in PHP by Kithuzzz
• 38,010 points
301 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP