Don't cache some code
-
I don’t want to cache a part of code that it uses ip to know country. I tried it
<!--mfunc --> <?php $country = pais_visitante(); if ($country=="ES") { $pais="Espa?a"; } elseif ($country=="MX") { $pais="Mexico"; } elseif ($country=="AR") { $pais="Argentina"; } elseif ($country=="CO") { $pais="Colombia"; } else $pais="Común"; ?> <!-- /mfunc -->
but it don’t works. What can i do?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Don't cache some code’ is closed to new replies.