Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Przesylanie formularz do pdf-u, Przesylanie formularz do pdf-u
mikess
post
Post #1





Grupa: Zarejestrowani
Postów: 25
Pomógł: 0
Dołączył: 24.11.2005

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


Mam problem gdy przesylam posty z formularza do pliku ktory generuje pdfa skrypt nie widzi zmiennych $_POST gdy przesylalem Get-em dziala ale przeciez nie wysle kliku zdan z textarea Get-em bo to troche bezsensu. Kozystam z FPDF. Co moge zrobic by to dzialalo ?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
mikess
post
Post #2





Grupa: Zarejestrowani
Postów: 25
Pomógł: 0
Dołączył: 24.11.2005

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


var_dump wyrzucil mi cos takiego

array(7) { ["Nr_dow_os"]=> string(8) "aaaaaaaa" ["Rozpoznanie"]=> string(14) "aaaaaaaaaaaaaa" ["Cel"]=> string(13) "aaaaaaaaaaaaa" ["Imie"]=> string(6) "Alicja" ["Nazwisko"]=> string(5) "Kowal" ["Data_ur"]=> string(9) "06-8-1981" ["Adres"]=> string(33) "ul.Kolorowa 9 m 56" } array(7) { ["Nr_dow_os"]=> string(8) "aaaaaaaa" ["Rozpoznanie"]=> string(14) "aaaaaaaaaaaaaa" ["Cel"]=> string(13) "aaaaaaaaaaaaa" ["Imie"]=> string(6) "Alicja" ["Nazwisko"]=> string(5) "Kowal" ["Data_ur"]=> string(9) "06-8-1981" ["Adres"]=> string(33) "ul.Kolorowa 9 m 56" }

Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html//test.php:3) in /home/abc/public_html/fpdf/fpdf.php on line 1022
FPDF error: Some data has already been output to browser, can't send PDF file

teraz juz wszystko dziala oki pdf jest generowany ale nie wiem czemu po odswiezeniu strony z pdf-em zmienne POST sie czyszcza
Go to the top of the page
+Quote Post

Posty w temacie


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: 11.10.2025 - 14:41