Page 1 of 1
how to create index.php file
Posted: Wed Apr 01, 2009 6:02 pm
by nicku
Hi, am currently new to php and i want to build a simple system, i have been looking over the internet and i realise that the index.php file seems to be the sceleton/base of te web page + database. my question is:how do u start building a index.php file and wat needs to be included? any help would be appriciated!
thnx!

Re: how to create index.php file
Posted: Wed Apr 01, 2009 10:12 pm
by califdon
The only thing special about an index.php file is that most web servers are configured to send that file when no other file is specified. In other words, it's the default file for a domain or within a directory. Aside from that, there's absolutely no commonality among files of that name. Make it anything you want visitors to see when they come to your domain.
Re: how to create index.php file
Posted: Thu Apr 02, 2009 3:39 am
by josh
A lot of frameworks work by putting an index.php in the document root of the webserver, which is called the frontController
http://java.sun.com/blueprints/corej2ee ... oller.html
Re: how to create index.php file
Posted: Thu Apr 02, 2009 4:29 am
by nicku
thanx for the info guys, but am still comfused.i have downloaded the xampp apllication on my usb and am running the database and the web page from my usb, to test if it works i created a simple file with hello message(typical) but it comes up with the 404 error message?!
Re: try it.Faizimrd [how to create index.php file]
Posted: Thu Apr 02, 2009 4:43 am
by Faizimrd
hello everybody i m also new to the php and i m also trying to make my 1st welcome page or i.e
index.php but invain. i have downloaded "WAMP" but code is not working.\
i think we should use "phpdesingner" software.
thanks and reply if any body can help me.
http://www.al-faizan.comze.com
Re: try it.Faizimrd [how to create index.php file]
Posted: Thu Apr 02, 2009 5:16 am
by josh
Faizimrd wrote:http://www.al-faizan.comze.com My Hobbies are To Play Different Computer Games and the Most Important Hobby is
to Find out the Masteries of the Hacking Material,
Here's a tip, if you want people to help you don't tell them you're going to misuse the information first.
Re: how to create index.php file
Posted: Thu Apr 02, 2009 12:06 pm
by Faizimrd
ok ok