Login   Register  
PHP Classes
elePHPant
Icontem

File: page2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Deyby Vasquez  >  Add multiple languages to a Web  >  page2.php  >  Download  
File: page2.php
Role: Example script
Content type: text/plain
Description: page two
Class: Add multiple languages to a Web
Add multiple languages to a Web site very easy.
Author: By
Last change: new example page two
Date: 4 years ago
Size: 484 bytes
 

Contents

Class file image Download
<?php
    session_start
();
    require_once(
"index.conf");
    
$language = new Language();
    
$lang $language->getLanguage(@$_POST['lang']);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title><?php echo $lang['title'];  ?></title>
</head>

<body>
<div align="center">
<h1>
<?php
    
echo $lang['hello']."<br />";
    echo 
$lang['page2']."<br />";
?>
</h1>
<a href="index.php"><?php echo $lang['home']; ?></a>
</div>
</body>
</html>