Results 1 to 2 of 2

Thread: How including.

  1. #1
    Corporal STAUFFi's Avatar
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    269
    Thanks
    106
    Thanked 128 Times in 83 Posts

    How including.

    Hey,
    I working on a Homepage for my TS3 Project.
    Here is my Question.
    How i can including some Languages like German or English?

    I have this Simple script now:
    Code:
    <?php
    	$page = (isset($_GET['page'])) ? $_GET['page'] : "news";
    	
    ?>
    &
    				<?php
    					if(file_exists("pages/".$page.".php")) {
    						include ("pages/".$page.".php");
    					} else {
    						echo "Error 404";
    					}
    				?>
    The Scripts including some stuff from folder "pages".
    How i can make it multilanguage?

    Greets

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    timescale 0.01

  3. The Following User Says Thank You to kung foo man For This Useful Post:

    Mitch (12th April 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •