| 
 Posted by Steve on 10/06/06 14:06 
| DON'T USE COOKIES. 
| 
| instead use $_SESSION 
| 
| problem solved. 
 
as in: 
 
<? 
session_start(); 
if ($showLanguage = $_SESSION['showLanguage']) 
{ 
  echo '<pre>' . $_SESSION['language'] . '</pre>'; 
} else { 
  $_SESSION['showLanguage'] = 1; 
  $_SESSION['language']     = 'EUBONICS'; 
  header('location:' . $_SERVER['PHP_SELF']); 
  exit; 
} 
?> 
 
// start sermon 
 
that wasn't too hard, was it. i'd think with all the responses you got  
telling you to do the same thing - use $_SESSION - you'd have invested  
enough interest in the answers for you to want to *read* about session  
variables...instead of the above spoon-feeding. 
 
// end sermon 
 
hth anyway.
 
[Back to original message] 
 |