leimis Posted October 25, 2004 Author Report Share Posted October 25, 2004 tas pats erors Warning: Cannot modify header information - headers already sent by (output started at E:\Maajas_lapa\config.inc:1) in E:\Maajas_lapa\Zinja.php on line 12 12. rinda: header('location: Zinja.php'); Link to comment Share on other sites More sharing options...
Aleksejs Posted October 25, 2004 Report Share Posted October 25, 2004 tas pats erors Warning: Cannot modify header information - headers already sent by (output started at E:\Maajas_lapa\config.inc:1) in E:\Maajas_lapa\Zinja.php on line 12 12. rinda: header('location: Zinja.php'); palasi šos meklēšanas rezultātus un izdari secinājumus (-; Link to comment Share on other sites More sharing options...
leimis Posted October 25, 2004 Author Report Share Posted October 25, 2004 OK pielieku pashaa lapas saakumaa funkciju ob_start(); tagad saakaas citi gljuki. Kompilaators vairs nesaprot sho funkciju mysql_fetch_array(): Link to comment Share on other sites More sharing options...
Aleksejs Posted October 25, 2004 Report Share Posted October 25, 2004 OK pielieku pashaa lapas saakumaa funkciju ob_start();tagad saakaas citi gljuki. Kompilaators vairs nesaprot sho funkciju mysql_fetch_array(): Mazticams, ka nesaprot. Kādu kļūdu tad viņš rāda? Link to comment Share on other sites More sharing options...
des Posted October 25, 2004 Report Share Posted October 25, 2004 Nu tad paskaties, ko dara config.inc. Es biju domaajis, ka config.inc tikai pieshkjir parametru veertiibas. Tas config.inc veel kaut ko drukaa? Izvaac jebkaadu outputu no taa! Link to comment Share on other sites More sharing options...
leimis Posted October 25, 2004 Author Report Share Posted October 25, 2004 config.inc fails: <?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = "qwerty"; $dbname = "Artuurs"; ?> Link to comment Share on other sites More sharing options...
des Posted October 25, 2004 Report Share Posted October 25, 2004 config.inc fails: <?php $dbhost = "localhost"; $dbuser = "root"; $dbpass = "qwerty"; $dbname = "Artuurs"; ?> Izdzees pilniibaa visus speisus, enterus, kas ir virs <?php un zem ?> Arii whitespeiss skaitaas outputs. Link to comment Share on other sites More sharing options...
leimis Posted October 25, 2004 Author Report Share Posted October 25, 2004 Juus varat pastiities kaa straadaa, kods ir taads pats kaa des man iedeva! adrese: /80.81.56.202 ejat zinjaa iekshaa un kaut ko nokomenteejiet. Luudzams nepiespamot manu DB! Link to comment Share on other sites More sharing options...
Aleksejs Posted October 25, 2004 Report Share Posted October 25, 2004 Izdzees pilniibaa visus speisus, enterus, kas ir virs <?php un zem ?>Arii whitespeiss skaitaas outputs. Es sapratu, ka hederis nu jau viņam normāli nosūtās. Tagad problēmas ar mysql_fetch_array... Link to comment Share on other sites More sharing options...
Aleksejs Posted October 25, 2004 Report Share Posted October 25, 2004 Juus varat pastiities kaa straadaa, kods ir taads pats kaa des man iedeva! adrese: /80.81.56.202 ejat zinjaa iekshaa un kaut ko nokomenteejiet. Luudzams nepiespamot manu DB! Vēlarvien tā pati headeru problēma tev ir. Neredzu neko ar mysql_fetch_assoc(); saistītu. Link to comment Share on other sites More sharing options...
leimis Posted October 25, 2004 Author Report Share Posted October 25, 2004 nu ja tagad es ierakstu //ob_start(); un buus! Link to comment Share on other sites More sharing options...
Aleksejs Posted October 25, 2004 Report Share Posted October 25, 2004 (edited) nu jatagad es ierakstu //ob_start(); un buus! Problēma ir tajā apstāklī, ka neesi norādījis ziņas id tajā vietā, kas ir head(...); - vienkārši verot vaļā failu Zinja.php netiek padots caur get mainīgais ID. Edited October 25, 2004 by Aleksejs Link to comment Share on other sites More sharing options...
leimis Posted October 25, 2004 Author Report Share Posted October 25, 2004 Kaa nee, ir tachu. <form action=\"Zinja.php?ID=$ID\" method=\"post\"> Link to comment Share on other sites More sharing options...
des Posted October 25, 2004 Report Share Posted October 25, 2004 Aaa... pareizi, tur jau komentaars tiek pievienots, liidz aro to arii headerii id vajag noraadiit: http://paste.php.lv/1314 Link to comment Share on other sites More sharing options...
leimis Posted October 25, 2004 Author Report Share Posted October 25, 2004 Iekopeeju! Neliidz, kaa redzat. Spiezham F5 un tik drukaajaas komentaari Link to comment Share on other sites More sharing options...
Recommended Posts