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.

179 Like 30 Dislike
Previous php-forum Next php-forum
Other php-forum

login page does not execute a else statement
I've created a login page using sessions.
When an incorrect user name or password is entered then

Else statement screws up all css
Does anyone know what goes wrong in the process with this php code?
This code seems to be causing

Join Query Help
Hi all,

I am having problems with the below code, which we shall call 'my first join query'!

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10.
How can i get

HTAccess auto log in?
Hi all.

Too busy driving celebs about lately so I hope someone here can help me out.

I

losing variables between php brackets
Hi

have got this code:
Code: $id=mysql_result($result,0,"itemid");
$title=mys

Adding to the next element in a multidimensional array
Hi, I'm trying to add a value to $node->field_spaces['nid'] where x is the next available spo

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