Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 58,889 times

Contents

Related Categories

Simple PHP includes - Conclusion

Chocobo

Conclusion

Next, create another file. Just type some nonsense in it and name it "stuff.php". In your menu file, make sure you have a link to "stuff.php". The link should be something like "http://www.yoursite.com/index.php?stuff" because of the reasons I mentioned above.

Now, upload those files and see what it looks like. It SHOULD look a little bit like the site http://www.hobbiton.org/~zeroone/test - please note the server that site is on is going down permanently soon, so you may not be able to access it.

If that all worked out, you've got a simple PHP layout. Play with it a bit, and you'll be able to implement it into your site's design to make being a webmaster easier. I hope this tutorial was helpful. Please send your comments to me at wipeoutgc@hotmail.com.

Uhm... I dunno why I'm typing this, cuz nobody is gonna read it probably, but anyway... I am (guess my age!! haha... 14) years old and I like programming, web design, and graphic design. I'm pursuing a career in game programming. I like basketball, volleyball, skiing, snowboarding, and skateboarding. My favorite pro skater: [b]Jamie Thomas!![/b] Well... I guess that about covers it. Oh yeah... I love to play video games, I'm a Final Fantasy fanatic, I have FF7-9 and FFT, gonna get FF10... I also like the Tony Hawk's Pro Skater series. Gameboy Advance rules! :p

All content in this tutorial was created by the author, Jamie Lindgren, and may not be reproduced without the author's permission. To contact the author, please send an e-mail to wipeoutgc@hotmail.com

Comments

  • php includes

    Posted by AR on 05 Sep 2004

    Try using this:

    include $_SERVER[DOCUMENT_ROOT]."/common/yourfile.php";

    This should do it.

    [url="http://www.summitcolorado.com"]Breckenridge[/url] Guy!

  • include example with half instructions incomplete

    Posted by altimastr on 03 Sep 2004

    [email="altimastr@yahoo.com"]email me[/email] , a your instructions as follows just gives you a name for the first page when creating your example for the first half of the code but what about the se...

  • What about caching?

    Posted by shizuka on 12 Sep 2003

    I gave the "corrected" code a try, but I'm using Javascript rollovers in the menu bar and now the buttons pause before loading, even though the script preloads them--and not only that, but it does tha...

  • Security Not an Issue?

    Posted by PHPeep on 10 Jul 2003

    If security is not an issue, what is wrong with simply making you header, footer, sidebar content as .txt includes for example and just use the where you want them to show up in your .php fi...

  • Posted by fame on 09 Apr 2003

    zidane,

    your reply was so helpful, that i've built a site around it and registered just to thank you.

    so... thank you. ;)



    fame