Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> problem z html2fpdf
rychu123
post
Post #1





Grupa: Zarejestrowani
Postów: 194
Pomógł: 1
Dołączył: 18.09.2008

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


Witam, mam problem z html2fpdf

pojawia mi się taki błąd
Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\html2fpdf\html2fpdf.php on line 460

i nie wiem czym on jest spowodowany proszę o pomoc

  1. <?php
  2. require_once('html2fpdf.php');
  3. include_once('./cc.html');
  4. $htmlbuffer = ob_get_contents();
  5. $pdf = new HTML2FPDF('P','mm','A4');
  6. $pdf->AddPage();
  7. $pdf->UseCSS(true);
  8. $htmlbuffer = iconv("UTF-8", "ISO8859-2", $htmlbuffer);
  9. $pdf->WriteHTML($htmlbuffer);
  10. $pdf->Output("wynik.pdf", "D");
  11. ?>


Ten post edytował rychu123 27.04.2011, 18:58:22


--------------------
Zapraszam darmowy erds dla twojego radia
www.erds.pl
Go to the top of the page
+Quote Post
ADeM
post
Post #2





Grupa: Zarejestrowani
Postów: 455
Pomógł: 69
Dołączył: 23.10.2004
Skąd: Oświęcim

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


http://php.net/manual/en/migration53.deprecated.php


--------------------
Go to the top of the page
+Quote Post
mat-bi
post
Post #3





Grupa: Zarejestrowani
Postów: 690
Pomógł: 92
Dołączył: 6.02.2011

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


No ludzie... Angielski się kłania, taki post anwet do przedszkola się nie kwalifikuje

EDIT:

A manual sprawdzałeś?

Cytat
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.


Ten post edytował mat-bi 27.04.2011, 19:15:17
Go to the top of the page
+Quote Post
rychu123
post
Post #4





Grupa: Zarejestrowani
Postów: 194
Pomógł: 1
Dołączył: 18.09.2008

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


juz sobie poradziłem z tym problemem:)

tylko teraz jest problem ze stylami css

na mpdf ten sam problem

nikt nie pomoże ?

questionmark.gif


--------------------
Zapraszam darmowy erds dla twojego radia
www.erds.pl
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 20.08.2025 - 11:47