cucumber Posted August 7, 2008 Report Share Posted August 7, 2008 Neizmantoju ne xml, ne klases, bet php met ara sho kludu Warning: session_start() [function.session-start]: Node no longer exists in C:\index.php on line 2 un shito Cannot send session cache limiter - headers already sent index.php <?php session_start(); ... kas varbut par vainu? Link to comment Share on other sites More sharing options...
Mr.Key Posted August 7, 2008 Report Share Posted August 7, 2008 Nav gadījumā UTF-8 signature faila sākumā ? Link to comment Share on other sites More sharing options...
cucumber Posted August 7, 2008 Author Report Share Posted August 7, 2008 Cik saprotu to var parbaudit hex'a atveros failu ja ir sakuma EFBBBF == tad ir BOM, manejam gan izkatas sakums 3C3F7068700D0A73657373696F6E5F73746172742829 Link to comment Share on other sites More sharing options...
cucumber Posted August 7, 2008 Author Report Share Posted August 7, 2008 Atklaju ieprieksh uz servera izmantoju $xml = simplexml_load_string(); $_SESSION['xml'] = $xml->x -> x; kas taisa SimpleXMLElementObject, kursh sav kart gluko izmantojot sessiju un session_start(), vienkarshi bez session_start() izdzesu visu kas bija $_S['xml'a'] un atradu solveri $_SESSION['xml'] = (string) $xml->x -> x; viss aizgaja Link to comment Share on other sites More sharing options...
bubu Posted August 7, 2008 Report Share Posted August 7, 2008 Neizmantoju ne xml, ne klases, khem.. Kas tad tavuprāt ir SimpleXML, ja ne xml un klases? Link to comment Share on other sites More sharing options...
andrisp Posted August 8, 2008 Report Share Posted August 8, 2008 Mjā :) Link to comment Share on other sites More sharing options...
cucumber Posted August 8, 2008 Author Report Share Posted August 8, 2008 to: bubu SimpleXML, protams, tas tieshi tas ari ir, tikai es rakstiju sakuma izmantoju vinu, tad nokeru to kludu, un izdzesu lauka to dalu kur bija tas! Jo SimpleXMLElementObject , es pat iedomaties navareju ka, tas var sabojat sessiju. Link to comment Share on other sites More sharing options...
Recommended Posts