shamuraq Posted May 18, 2009 Share Posted May 18, 2009 hi guys... I'm trying to convert my php files into pdf using HTMLtoPDF but i cannot find anyways to manipulate my php into html since the only way php is parsed is through the browser. Any suggestions? Quote Link to comment Share on other sites More sharing options...
Mchl Posted May 18, 2009 Share Posted May 18, 2009 Umm... no. Browser do not parse PHP as it is never send to it. Only HTML is send to browser. Quote Link to comment Share on other sites More sharing options...
shamuraq Posted May 18, 2009 Author Share Posted May 18, 2009 my bad... so any suggestions? A friend told me i need to convert the whole php file into a string in another file. Its still unclear for me.... Quote Link to comment Share on other sites More sharing options...
nadeemshafi9 Posted May 18, 2009 Share Posted May 18, 2009 my bad... so any suggestions? A friend told me i need to convert the whole php file into a string in another file. Its still unclear for me.... you dont understand client server communications or you dont know the difference between php and javascript html, basicaly you create javascript and html using php on the server and then that is what the user see's because the result is what gets sent. So if you dont undertsand that it will be dificult for you to create a pdf. Quote Link to comment Share on other sites More sharing options...
Mchl Posted May 18, 2009 Share Posted May 18, 2009 an you post a link where we can read about html2pdf? Quote Link to comment Share on other sites More sharing options...
shamuraq Posted May 19, 2009 Author Share Posted May 19, 2009 http://html2pdf.seven49.net/Web/ i guess i'll just stick to print from file menu and choose PDF. This is way off my league.. sigh... Quote Link to comment Share on other sites More sharing options...
DarkSuperHero Posted May 19, 2009 Share Posted May 19, 2009 are you trying to convert your PHP OUTPUT to a PDF ? or trying to conver your PHP source code to a PDF ? if the first one than you might want to look into .... http://www.fpdf.org/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.