Login   Register  
PHP Classes
elePHPant
Icontem

improvement

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      phpMultiLang  >  All threads  >  improvement  >  (Un) Subscribe thread alerts  
Subject:improvement
Summary:change in example.php
Messages:1
Author:dexter
Date:2005-10-26 13:55:27
 

  1. improvement   Reply   Report abuse  
Picture of dexter
dexter
2005-10-26 13:55:27
changing this:

if(!isset($_GET['lang']))$lang = "IT";
else $lang = $_GET['lang'];

to this:

if(!isset($_GET['lang']))$lang = "IT";
else $lang = strtoupper($_GET['lang']);

into file using this class prevent error for cap-lock typo into website's links

;)