persix Posted March 23, 2004 Report Share Posted March 23, 2004 Jautajums ir tads. Ka cookies ierakstit vairaku informaciju no vairakiem laukiem postojot, un tad so informaciju ari kartigi dabut ara, pa dalam, pa katru postotu lauku! Link to comment Share on other sites More sharing options...
Gacha Posted March 23, 2004 Report Share Posted March 23, 2004 Pameggini ielikt masiivaa un tad iznjemt no taa! Bet kam tev tas vajadziigs? Kaada ir doma? Varbuut var kaa savaadaak? Link to comment Share on other sites More sharing options...
bubu Posted March 23, 2004 Report Share Posted March 23, 2004 var katru lauku savaa cookijaa likt :) var ar implode, explode vienaa cookijaa, bet tad jaatrod taads atdaliitaajs, kursh nebuus tajos laukos Link to comment Share on other sites More sharing options...
Gacha Posted March 23, 2004 Report Share Posted March 23, 2004 A kapeec nevareetu datus par katru personu saglabaat DB un veel pie katra ieraksta saglabaa random skaitli un to pashu skaitli vienaa kukijaa tai personai. Tad tev atlasot datus nebuus nekaadu problemu! Cerams, ka tas servaks atbalsta mysql! B) Link to comment Share on other sites More sharing options...
AcidRain Posted March 23, 2004 Report Share Posted March 23, 2004 Mani ieinteresēja šī lieta, precīzāk iekš $_COOKIE var iegāzt masīvu, itkā nevajadzētu būt problēmām, bet kā tas masīvs izskatīsies pie klienta ? Link to comment Share on other sites More sharing options...
persix Posted March 23, 2004 Author Report Share Posted March 23, 2004 Man ir tada doma, ka autorizejoties, cepuma tiek iecepti dazi dati, kas pec tam velak tiek izmantoti. Var but kadam ir kads piemers, citadi sodien galva pavisam nestrada. Cerams, ka tas servaks atbalsta mysql! Servaks visnotal ir ar MySQL, bet vai tas ir vajadzigs, piebazt liekam lietam DB Link to comment Share on other sites More sharing options...
tamster Posted March 23, 2004 Report Share Posted March 23, 2004 Var mēģināt arī serialize un unserialize f-cijas... Link to comment Share on other sites More sharing options...
trinklins Posted March 23, 2004 Report Share Posted March 23, 2004 (edited) <?php // izveido cepumus setcookie("cookie[1]", "cookieone"); setcookie("cookie[2]", "cookietwo"); setcookie("cookie[3]", "cookiethree"); // šitajam jokam tos vajadzētu izvadīt if (isset($_COOKIE['cookie'])) { foreach($_COOKIE['cookie'] as $value) { echo "$value<br />\n"; } } ?> tādam vajadzētu būt iznākumam cookieone cookietwo cookiethree Edited March 23, 2004 by trinklins Link to comment Share on other sites More sharing options...
Recommended Posts