![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 41 Pomógł: 0 Dołączył: 15.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
Witam !
Zrobiłem token na skrypcie psnews i mam pewnien problem moj kod show.php
i mam problem tutaj
Nie wiem czy to prawidłowo Prosze o pomoc Gdy pisze komentarz to zamiast go dodać pokazuje sie znowu formularz komentowania.. Gdy podamy zly token takze pokazuje sie formularz komentowania.. Ten post edytował ChowiX 29.08.2007, 11:59:42 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 418 Pomógł: 8 Dołączył: 16.11.2006 Ostrzeżenie: (0%) ![]() ![]() |
A masz ustawione session.auto_start na 1, ewentualnie wcześniej wywołałeś session_start() (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 41 Pomógł: 0 Dołączył: 15.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
ale jak wywołuje session_start() to wyskakuje błąd
" Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home.2/p/o/r/portalgi/www/index.php:11) in /home.2/p/o/r/portalgi/www/wiad99628366611a/show.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home.2/p/o/r/portalgi/www/index.php:11) in /home.2/p/o/r/portalgi/www/wiad99628366611a/show.php on line 2 " |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 1 873 Pomógł: 152 Dołączył: 9.04.2006 Skąd: Berlin Ostrzeżenie: (0%) ![]() ![]() |
nie możesz nic innego wyświetlić przed wywołaniem funkcji session_start() Nawet spacji!
|
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 41 Pomógł: 0 Dołączył: 15.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
tz ze mam to walnąc do index.php ?
a nie w show.php ? początek kodu <? session_start(); Ten post edytował ChowiX 29.08.2007, 13:00:08 |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 1 873 Pomógł: 152 Dołączył: 9.04.2006 Skąd: Berlin Ostrzeżenie: (0%) ![]() ![]() |
Jeśli w indexie includujesz show.php. Nie znam psnews
@moderatorzy Może warto przenieść topic do gotowe skrypty, bo chodzi o psnews (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) |
|
|
![]()
Post
#7
|
|
Grupa: Zarejestrowani Postów: 41 Pomógł: 0 Dołączył: 15.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
Zrobiłem takw index.php
reszta strony i nadal nie idzie dodac komentarzu (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) w show.php usunalem session_start(); Ma ktoś jeszcze jakies pomysły ? Ten post edytował ChowiX 29.08.2007, 16:06:51 |
|
|
![]()
Post
#8
|
|
Grupa: Zarejestrowani Postów: 1 873 Pomógł: 152 Dołączył: 9.04.2006 Skąd: Berlin Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#9
|
|
Grupa: Zarejestrowani Postów: 41 Pomógł: 0 Dołączył: 15.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
Nadal nie działa :/
Prosze zobaczyc ... Kod http://portalgier.info/index.html?function=add_kom&no=9
|
|
|
![]()
Post
#10
|
|
Grupa: Zarejestrowani Postów: 1 873 Pomógł: 152 Dołączył: 9.04.2006 Skąd: Berlin Ostrzeżenie: (0%) ![]() ![]() |
Pokaż mi górę index.php od lini 1 do ~30. (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
|
|
|
![]()
Post
#11
|
|
Grupa: Zarejestrowani Postów: 41 Pomógł: 0 Dołączył: 15.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
Prosze
index.php
Lecz gdy odlacze tokena tz skasuje go z kodu wszystko smiga... Ten post edytował ChowiX 30.08.2007, 13:53:08 |
|
|
![]()
Post
#12
|
|
Grupa: Zarejestrowani Postów: 1 873 Pomógł: 152 Dołączył: 9.04.2006 Skąd: Berlin Ostrzeżenie: (0%) ![]() ![]() |
Eeee... to powinno działać (IMG:http://forum.php.pl/style_emoticons/default/sciana.gif) Nie mam pomysłu. Może ktos bardziej doświadczony w problemach z sesjami będzie wiedział. (IMG:http://forum.php.pl/style_emoticons/default/party.gif)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 19:39 |