WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • html2pdf not reading php scripts
  • Print
Pages: [1]   Go Down

Author Topic: html2pdf not reading php scripts  (Read 6136 times)

yayo

  • Guest
html2pdf not reading php scripts
« on: July 14, 2008, 04:22:26 AM »
i have a problem with html2pdf... instead of

$fp = fopen("sample.html","r");
$strContent = fread($fp, filesize("sample.html"));

i changed it to

$fp = fopen("sample.php","r");
$strContent = fread($fp, filesize("sample.php"));

my problem is.. it will not read the php scripts.. like <?php echo "sample";?> it will not display sample on pdf format..in short it will not read php scripts..

help me please...
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • html2pdf not reading php scripts
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2