keeps going back to index.html ???????


Posted on 16th Feb 2014 07:03 pm by admin

ok so i started making my site using mostly.html files now i have added a fair chunk of php. My index,html file had to be renamed to index.php because i am using a include function, I got told that if there is any php in any file it has to be named .php so the web server knows that there is php in there.

my problem is when i renamed index to .php it wont show up in ie or FF it just reverts back to index.html every time when i would of thought it would of just said file not found or gone to the folder content. So here I am realy confused!?!?!?

Please any advise would be brilliant.

No comments posted yet

Your Answer:

Login to answer
179 Like 30 Dislike
Previous forums Next forums
Other forums

Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" a

TemplatePower & AJAX
Hi all,



I'm currently implementing some AJAX features in my PHP-framework (which is b

Drop Down and text box issue
Is it possible to set a drop down list and text boxes to a certain width?

here is my code

How to file_get_contents when login required?
Hello!

I am trying to read data from a page that you have to be logged into to view, I am try

Data storage spaces in varchar2
Trying to understand what's happening.
I am selecting a value from a table that is defined as c

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo

mysql UNION | warning mysql_fetch_array !!
Code: <?php
$i = 0;
$query1="SELECT * FROM `products` WHERE `div

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

output_buffering so rewrite
I'm planning to rewrite some of my scripts so they don't have to use output buffering to accomplish

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash