what will wamp sever display???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kpreethiit05
Forum Newbie
Posts: 1
Joined: Tue Dec 30, 2008 7:35 am

what will wamp sever display???

Post by kpreethiit05 »

i have a folder inside www root named sample
the pages inside it are
1.admin.php
2.index.php
3.all php files

what does wamp server displays as default
generally index.php is for all pages
but for me admin.php is displayed for me

kindly explain me
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: what will wamp sever display???

Post by onion2k »

It'll display whatever it's configured to display. It's very likely that will be index.php, and index.php is forwarding you to admin.php. But only you can tell that by reading the apache.conf file and the code in index.php. We don't have anywhere near enough information to know what's going on precisely.
Post Reply