
| Site Stats |
| Currently: 7 online
Total Hits: 3095828 |
| Domain Info |
| - Hosting brought on 06/19/2003 - Hosted by Ace-host recommended - 5GB space 60Gb data/month |
| Display information |
Optimised for:
1024 x 768 resolution Internet Explorer Macromedia FlashAlso tested and working in: Netscape Mozilla Firefox
|
| Being Validated |
|
| Girl |
| Char, 20, female, British, Gemini, ...more? |
| Alternative Navigation |
Girl Domain Tutorials Goodies Etc Clear |
| Recommended |
![]() |
| Change skin |
| Give a gift :) |
| Cam |
|
|
| Affiliates |
| Top 15 Referrers |
| 1) cute-spot.com [6765] 2) cute-spot.com [4134] 3) veredgf.fre... [3463] 4) carrieware.com [1678] 5) bouncy-bubb... [966] 6) divergente.org [846] 7) rainbow-bit... [744] 8) bouncy-bubb... [733] 9) shatteredel... [639] 10) rainbow-bit... [635] 11) yanhuahuo.b... [630] 12) cute.startk... [584] 13) users.volja... [565] 14) kao-ani.com [541] 15) so-juicy.net [537] |
| Search |
|
|
| so-youNET Advertisments! |
![]() akuhei.nu |
|
Want to advertise here? Email me char@so-you.net click here for details |
| Dynamic PHP includes Tutorial |
|
This is quite an advanced tutorial for people who know nothing about php PHP includes make your site
so much easier to update! my site is made up of these. Basically you
make all your individual pages with the content on, but you do not format it
or anything. Then you make a main page, this is where you will code
your layout. Once you have your layout coded, where you want a page to
be included you put <?php include("$action2.php"); ?> Then at the top of your page somewhere you define the pages <?php I will explain, the part in the brackets is the name you want to give the page to call it up, in the above example it would be index.php?action=girl the part outside the brackets is where the actual page is. elseif ($action == "tuts") $action2 = "you/tutorials"; So to call up the php page http://yourdomain/you/tutorials.php you would type in http://yourdomain/index.php?action=tuts and this will display the page in the layout! You can add as many of these as you like, just make sure you add more in the form elseif not else or if The else $action2 = "middle"; is the page that will be included when you first go to the index.php page and if a wrong action is called. Then the next time you have a layout change the only thing you will need to change is the main index page as long as you include the <?php include("$action2.php"); ?> Remember to name your files .php! You can also change $action to something else if you like, as you can see on mine it is index.php?go= I hope you understand, it is quite hard to explain but once you get the hang of it its great! |