CryRat Posted October 29, 2003 Report Share Posted October 29, 2003 man te tāda maza problēma... vobšem lai tā pieklājīgi būtu uzliku pogu "remove cookies set by this site" zem viņas kods izskatās šitā: <code><font color="#000000"> <font color="#0000CC"><? </font><font color="#006600">if (isset(</font><font color="#0000CC">$_GET</font><font color="#006600">[</font><font color="#CC0000">'delcookies'</font><font color="#006600">])) { foreach (</font><font color="#0000CC">[url=http://lv.php.net/array_keys]array_keys[/url]</font><font color="#006600">(</font><font color="#0000CC">$_COOKIE</font><font color="#006600">) as </font><font color="#0000CC">$cookie</font><font color="#006600">) </font><font color="#0000CC">[url=http://lv.php.net/setcookie]setcookie[/url]</font><font color="#006600">(</font><font color="#0000CC">$cookie</font><font color="#006600">, </font><font color="#CC0000">""</font><font color="#006600">, </font><font color="#0000CC">[url=http://lv.php.net/time]time[/url]</font><font color="#006600">()-</font><font color="#0000CC">60</font><font color="#006600">*</font><font color="#0000CC">60</font><font color="#006600">*</font><font color="#0000CC">24</font><font color="#006600">*</font><font color="#0000CC">1</font><font color="#006600">); } </font><font color="#0000CC">?></font> </font> </code> viss jau būtu skaisti Mozilla-veidīgie un Opera visu izdzēš BET saprotams ir tāds M$IE kas nevis izdzēš bet tiem visiem cepumiem piešķir vērtību "deleted"... so mans jautājums... vai es kaut ko daru nepareizi ? vai tiešām lai uzzinātu vai cepuma nav vajadzēs vēl pārbaudīt vai viņš ir "deleted" ? Link to comment Share on other sites More sharing options...
K|NG Posted October 30, 2003 Report Share Posted October 30, 2003 imxo: <code><font color="#000000"> setcookie($cookie, "", time()-60*60*24*1,'/');</font> </code> paasu vaijag / Link to comment Share on other sites More sharing options...
CryRat Posted October 30, 2003 Author Report Share Posted October 30, 2003 nezinu kas ir "imxo" un kas tas par "paasu" :) nu bet pamēģināšu... tas IE mani laikam vienreiz piebeigs :( Link to comment Share on other sites More sharing options...
Recommended Posts