Re[2]: [SMARTY] Page don't renew (WITHOUT caching!) Help, please...
| From: | Vitaly | Date: | Tue, 09 Nov 2004 17:42:41 +0000 |
| Subject: | Re[2]: [SMARTY] Page don't renew (WITHOUT caching!) Help, please... | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11950@lists.php.net to get a copy of this message | ||
Hello val,
Thank you for your answer!
Tuesday, November 9, 2004, 6:58:48 PM, you wrote:
v> Hello Vitaly,
v> I believe this problem arise from register_globals not smarty caching.
v> do you use $country or $_GET['country'] in your script?
I use as
$country=$HTTP_GET_VARS['country'];
It is real string from the page...
V>> Hello, all!
V>> I wrote the site engine (Smarty+PHP+MySQL).
V>> url for each page similar as:
V>> country_info.php?country=austria
V>> - here 'austria' is a needed country...
V>> This is work correctly on my local web-server. Ok!
V>> But when I uploaded this to host, I have a trouble.
V>> country_info.php?country=<country> give me a first asked country.
V>> For example:
V>> country_info.php?country=austria - good, I see info about Austria
V>> country_info.php?country=andorra - shit! I see Austria again :(
V>> Where can be a problem?
V>> I use
$smarty->>>caching = false;
V>> And I use
V>> header("Cache-Control: no-cache, must-revalidate"); too...
V>> Nothing to cache, I guess!
V>> --
V>> Best regards,
V>> Vitaly
V>> mailto:softdeveloping@nm.ru
--
Best regards,
Vitaly mailto:softdeveloping@nm.ru