Mikijs Posted September 19, 2008 Report Share Posted September 19, 2008 (edited) nevaru iebraukt =/ Notice: unserialize() [function.unserialize]: Error at offset 6 of 348 bytes in /home/../inc/tree.inc.php on line 40 Koda fragments $r = $r[0]['info']; echo $r; // sito ieliku lai redz kas vizuali paraaas $cache1[$id] = unserialize ($r); Rezultats a:11:{s:11:\"list_fields\";s:0:\"\";s:17:\"list_fields_width\";s:0:\"\";s:17:\"list_fields_align\";s:0:\"\";s:10:\"sort_field\";s:0:\"\";s:10:\"sort_order\";s:0:\"\";s:14:\"sort_recursive\";s:1:\"0\";s:5:\"title\";s:0:\"\";s:16:\"meta_description\";s:0:\"\";s:13:\"meta_keywords\";s:0:\"\";s:11:\"meta_author\";s:0:\"\";s:9:\"title_pic\";s:0:\"\";} Notice: unserialize() [function.unserialize]: Error at offset 6 of 348 bytes in /home/../inc/tree.inc.php on line 40 Edited September 19, 2008 by Mikijs Link to comment Share on other sites More sharing options...
andrisp Posted September 19, 2008 Report Share Posted September 19, 2008 $r[0]['info'] ir nepareizi serializēts. Tie \ tur galīgi nav vajadzīgi. Link to comment Share on other sites More sharing options...
4e4en Posted September 19, 2008 Report Share Posted September 19, 2008 Nevisi nepareizi serializēts, bet tas, ko viņš ir iekopējis, ir bijis caur POST vai GET saņemts, un ģēnijs nav pacenties noņemt \. Link to comment Share on other sites More sharing options...
bubu Posted September 19, 2008 Report Share Posted September 19, 2008 Kopš kuriem laikiem kautko saņemot caur POST vai GET tur ir jānoņem kautkādi \ simboli? Link to comment Share on other sites More sharing options...
Recommended Posts