Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP] problem z formularzem na www
dexter77
post
Post #1





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 6.05.2008

Ostrzeżenie: (0%)
-----


witam, zamiescilem formularz na stronie, jednak pojawia mi sie taki komunikat po przejsciu do wybranego diva gdzie powinien sie wyswietlic:


Warning: Cannot modify header information - headers already sent by (output started at /home/users/szroeder/public_html/inne/cbt/index.php:9) in /home/users/szroeder/public_html/inne/cbt/dane/praktykant.html on line 29

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/users/szroeder/public_html/inne/cbt/index.php:9) in /home/users/szroeder/public_html/inne/cbt/dane/praktykant.html on line 30

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/users/szroeder/public_html/inne/cbt/dane/praktykant.html on line 30


prosze o pomoc co jest przyczyną ...
Go to the top of the page
+Quote Post
Quider
post
Post #2





Grupa: Zarejestrowani
Postów: 91
Pomógł: 9
Dołączył: 6.03.2009
Skąd: Katowice

Ostrzeżenie: (0%)
-----


Otóż:
Inicjacja sesji musi się odbyć w pierwszej linii kodu:
  1. <?php
  2.  
  3. //bal blab lbalbalba
  4. ?>


Ten post edytował Quider 5.05.2009, 22:37:12
Go to the top of the page
+Quote Post
dexter77
post
Post #3





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 6.05.2008

Ostrzeżenie: (0%)
-----


hmmm poprawilem i teraz mam cos takiego:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/users/szroeder/public_html/inne/cbt/index.php:9) in /home/users/szroeder/public_html/inne/cbt/mail-form.php on line 2

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/users/szroeder/public_html/inne/cbt/mail-form.php on line 2
Go to the top of the page
+Quote Post
piotrooo89
post
Post #4


Newsman


Grupa: Moderatorzy
Postów: 4 005
Pomógł: 548
Dołączył: 7.04.2008
Skąd: Trzebinia/Kraków




było nie raz nie dwa na forum....http://olaszewski.com/2008/12/07/cannot-mo...nt-po-raz-n-ty/ zapoznaj się.
Go to the top of the page
+Quote Post
dexter77
post
Post #5





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 6.05.2008

Ostrzeżenie: (0%)
-----


niestety nie pomaga dalej, jest to formularz do wyslania aplikacji z dwoma zalacznikami na mail
Go to the top of the page
+Quote Post
piotrooo89
post
Post #6


Newsman


Grupa: Moderatorzy
Postów: 4 005
Pomógł: 548
Dołączył: 7.04.2008
Skąd: Trzebinia/Kraków




funkcje ob_* są? plik kodowany UTF-8 bez BOM? nic nie masz na początku dokumentu?
Go to the top of the page
+Quote Post
dexter77
post
Post #7





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 6.05.2008

Ostrzeżenie: (0%)
-----


zrobilem tak jak jest napisane i nic, ciagle mam ten komunikat

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/users/szroeder/public_html/inne/cbt/index.php:9) in /home/users/szroeder/public_html/inne/cbt/mail-form.php on line 4

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/users/szroeder/public_html/inne/cbt/mail-form.php on line 5


skrypt dziala jesli odpale go bezposrednio z serwera z pliku, jednak jak wrzucam na strone to juz jest lipa, mam w index w divie cos takiego: if($_GET['id']=="ankieter"){
include("mail-form.php");

nie wiem czy to ma jakies znaczenie..
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 12:54