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!?!?!?

Did you know?Explore Trending and Topic pages for more stories like this.
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

My XSRF Prevention code isn't working
First of all, thanks for the generous help you guys have given me in the past on this forum.
Seco

php multiple action on submit
I have a form which says:

<form enctype='multipart/form-data' method='post' action='pr

setcookie and isset($_COOKIE(name)) seem very finnicky.
I'm currently playing around with a user system with login and registration. I'm trying to use cooki

using explode() to fill in checkboxes
Hi

I have a field stored in a table that contains regions in the UK separated by commas. Ther

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

private constructor
Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can'

Error with Font and imagettfbbox
I keep getting an error that says "Warning: imagettfbbox() [function.imagettfbbox]: Could not f

confused between ' ' and " "
there is a php i set:
$begin_date_query = mysql_query( "SELECT SUBDATE(due_date, INTERVAL $d

list files from folder, only one for each date
I have many files in a folder and wish to only list one of each date

these are the file names

There was a problem with the request. (Code: 0)
Any Idea what could cause this? I get it randomly at best. But with both IE and FF. It derives from

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