this one will redirect you to index.php so if you are running the page locally then it will download the index.php. But if you run it on a webserver it will serve you index.php
should I just double click the index.html/index.php to start the site? How can I escape if it prompts to download index.php after I’ve double clicked index.html?
hello I’m assuming you are running the site in your local computer and calling it inside a windows/mac folder…is that right? If that is the case then I’m afraid it won’t work as .php is a sever side file. you need to run it on a localhost or on a live server.
Normally the Web Servers like Apache, IIS, etc. serve you the web pages and they have defined somewhere which file to show at first. So check in your web server, if it is PHP website and Apache is the web server then index.php or index.html should be the default pages to be loaded.
This is a folder in my site that doesn’t have an index file http://www.i-mediaconcepts.net/kierulf/ It display the files inside the folder because there is no index file
Many many thanks to all. Which version of Apaches should we use for WinXP for testing that? If we have set up Apaches on one machine, is it true that we can call the site within any folders? I am asking for instance if we can have several versions on one machine for testing the program.
I use xammp easy to install just extract it to c:// delete everything on the htdocs folder and copy paste your files there start xammp and go to http://localhost
Great appreciations for your nice help! By the way, which is a very good forum for MySql? The following one does not have many feedbacks! http://forums.mysql.com/
Since you are just learning now (so i will say you as a beginner), do nothing, but
just install XAMPP
open the XAMPP control panel
start Apache, MySQL (and others if you really need them).
Then create a folder ‘mysite’ inside XAMPP’s htdocs folder (which i assume you have already found it inside XAMPP installation folder) and put all the files in it. If your site uses the database then you need to import/create database in mysql from phpmyadmin (to manipulate databases you have phpmyadmin too with XAMPP so browse http://localhost/phpmyadmin). Now browse your site in your favorite browser as http://localhost/mysite/.