title image


Smiley Re: Aktualisierung von Formulardaten
Aus dem PHP Manual, setcookie():



Common Pitfalls:



Cookies will not become visible until the next loading of a page that the cookie should be visible for. To test if a cookie was successfully set, check for the cookie on a next loading page before the cookie expires. Expire time is set via the expire parameter. A nice way to debug the existence of cookies is by simply calling print_r($_COOKIE);.



$data = $glz . ":" . $lz . ":" . $lt . ":" . $gt . ":" . $z . ":" . $g;

setcookie($cookie, $data, time()+60*60*24*30);



Du solltest dir mal serialize() und unserialize() anschauen.

Meine Microsite || SQL-Tips.de || D-3 (2007/08) / AI-29 (2006)


geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: