UnitedForums - UK Web Hosting Forum UnitedHosting Community Hosting Forums
Network and Server StatusCustomer SupportUK Web Hosting
UnitedHostingUnitedHosting Sitemap UK Hosting ForumUK Web HostingWeb Hosting ForumsUK Reseller HostingWeb Host CommunityUK Managed Dedicated ServersHosting Help and SupportUK Domain Name Registration

Go Back   UnitedForums.co.uk > UnitedHosting Community > Website Development & Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 1st July 2008, 03:55 PM   #1 (permalink)
L Plates
Senior Member
 
Join Date: Jan 2003
Location: Wales
Posts: 417
PHP to PDF

Can anybody recommend a PHP to PDF convertor/generator script. I want to create a pdf document of a php file whenever I create/modify the file.
Thanks in advance.
__________________
There is a very fine line between "hobby" and "mental illness."

North Wales Web Design
L Plates is offline   Reply With Quote
Old 1st July 2008, 04:12 PM   #2 (permalink)
percepts
Senile Member
 
percepts's Avatar
 
Join Date: Mar 2005
Posts: 1,009
Do you mean locally or on the server?
__________________
An old dog learning new tricks
percepts is offline   Reply With Quote
Old 1st July 2008, 04:29 PM   #3 (permalink)
L Plates
Senior Member
 
Join Date: Jan 2003
Location: Wales
Posts: 417
Sorry on the server.
I have acar sales website and wat to generate a downloadable pdf of each vehicle when they are added (rather than generate everytime the download is requested). I think I would prefer to have a seperate layout for the pdf to generate from as it would be neater than the webpage but looking for a simple solution.
__________________
There is a very fine line between "hobby" and "mental illness."

North Wales Web Design
L Plates is offline   Reply With Quote
Old 1st July 2008, 06:02 PM   #4 (permalink)
percepts
Senile Member
 
percepts's Avatar
 
Join Date: Mar 2005
Posts: 1,009
the following thread makes some suggestions and there are others if you search for pdf

Generating PDF's using PHP.
__________________
An old dog learning new tricks
percepts is offline   Reply With Quote
Old 3rd July 2008, 12:57 AM   #5 (permalink)
L Plates
Senior Member
 
Join Date: Jan 2003
Location: Wales
Posts: 417
Exclamation

Thanks for that suggestion.
I had looked but was looking for something a little more but in the end I used FPDF and it did most of what I wanted
__________________
There is a very fine line between "hobby" and "mental illness."

North Wales Web Design
L Plates is offline   Reply With Quote
Old 30th July 2008, 11:01 AM   #6 (permalink)
richardhall
Registered User
 
Join Date: Oct 2003
Location: Stoke-on-Trent, UK
Posts: 54
Send a message via MSN to richardhall Send a message via Skype™ to richardhall
So far I've found FPDF to be the best to implement from within PHP. Takes a while to format your pages with headers/footers/content and paging your data but for example if you're producing reports and you use a class that extends from FPDF it's easy peasy from there on - for each report you can just customise the content section/title etc and use parameters as you wish.
richardhall is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 08:15 PM.

UK Web Hosting  |  UK Reseller Hosting  |  UK Dedicated Servers UnitedHosting  |  UnitedSupport  |  UnitedForums  |  SEO by vBSEO 3.0.0
Copyright © 1998-2008 United Communications Limited. All Rights Reserved. Registered in England and Wales 3651923 - VAT Reg No. 737662309