FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Need help





Runescapetown
Ive been seeing websites and they have links like:
www.example.com/file.php?page=home

* the page=home*
or something like that, what do they use? And if you could link me to a tutorial?

Thanks.
imagefree
its not easy, neither it is so simple that i tutorial can explain it.

You have to learn a complete language (php or its alternative) and also its functioning.
Star Wars Fanatic
It's php, if you know php, then you should know what it is.

The page=home is the get variable in the url.

If you don't know php, then it will take a while before you can do something like that, it is kinda complicated, and time consuming to do it.

I recommend you searching for good php tutorials, there is a topic here with tons of great sites.

Good luck with php!
Diablosblizz
You could do this:

Code:

<?php
switch($_GET['page']) {

default:

// stuff here

break;

case 'home':

// stuff here

break;
}
?>



Could do that and it'll make your page a whatever.php?page=home or whatever you set the home to. It's really not that complicated.
Related topics
can i help?
help,Bonding
HELP!!
Help me with MySQL Account Maintenance and phpBB 2.0.15 :((
help, change pass my acc in cpanel
help me upgrade php to 5.
Need help adding a domain
help add admin in phpbb forum
How to solve this problem? Thanks
Help!
Help me change port for phptriad
problam Plz help
Help!!
Google Ads help fund Spyware ?
simple php problem, please help...
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.