freak Posted April 28, 2009 Report Posted April 28, 2009 Man ir izveidots skipts, kas izveido un ari nolasa cookiju. Problema tada, ka ievadot http://WWW.mansdomens.lv/COOKI.php vinsh bus veiksmigi izveidots shai adresei, bet nebus http://mansdomens.lv/COOKI.php (Uzmanibu pieverst WWW) Ko darit , lai var izveidot un nolasit cepuminju gan prieks www ,gan ne www. Quote
Delfins Posted April 28, 2009 Report Posted April 28, 2009 (edited) Neesi pietiekami labi izlasījis manuāli: http://lv.php.net/setcookie Parameter - domain The domain that the cookie is available. To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The . is not required but makes it compatible with more browsers. Setting it to www.example.com will make the cookie only available in the www subdomain. Refer to tail matching in the » spec for details. Edited April 28, 2009 by Delfins Quote
freak Posted April 29, 2009 Author Report Posted April 29, 2009 Neesi pietiekami labi izlasījis manuāli: http://lv.php.net/setcookie paudies Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.