RE: [PHP-DB] PHP on an Windows intranet with MSOffice-like templates
yes, its possible. use www.fpdf.org to create the pdfs for you (gets around the word COM interface) and allows for database storage of template letters as text, simpler to maintain and change. FPDF will have some examples that will make this easy for you. Another option is to use straight html and php to create the letters, though multiple page letters become more problematical in terms of print control(headers and footers), which is weak in some browsers. bastien From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP-DB] PHP on an Windows intranet with MSOffice-like templates Date: Tue, 16 Nov 2004 16:33:52 -0600 I don't even know if this is possible, or if I'll have to go the route of .NET development to get this sort of functionality (I'm sure it's possible if I jump through enough hoops). But here's what I'm trying to accomplish... - users are all on a local intranet with access to a shared drive (no prob) - users navigate a PHP-MySQL application to select records from a database (no prob) - users are able to click a link which will launch some sort of document (they have Office, but if something like PDF is available on a Windows platform, great) where a document template is fetched and updated with information from the selected record.(This is the part I don't understand how to do). An example... user wants to be able to print one of a variety of letters to physically mail to a customer, customized with the customer's account info. (You know: Dear [first name] [last name], ... Your account [account_id] ... is 30 days past due... etc ) This way, management can update the template and not have me re-work the code to have it work... Is such a thing possible on a windows PHP platform? Can someone point me to somewhere I can learn more about it? Thanks much, -P -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] PHP on an Windows intranet with MSOffice-like templates
You're welcome... Best regards, Ricardo Oliveira ---Original Message--- From: [EMAIL PROTECTED] Date: 11/17/04 00:02:48 To: Ricardo J. S. Oliveira Subject: Re: [PHP-DB] PHP on an Windows intranet with MSOffice-like templates You're my hero. Thanks! -P Quoting "Ricardo J. S. Oliveira" [EMAIL PROTECTED]: Why don't you try to define some templates but instead of using Office documents, use PDF ones, try using fpdf, a free php class to generate pdf's Regards, Ricardo Oliveira ---Original Message--- From: [EMAIL PROTECTED] Date: 11/16/04 23:24:24 To: [EMAIL PROTECTED] Subject: [PHP-DB] PHP on an Windows intranet with MSOffice-like templates I don't even know if this is possible, or if I'll have to go the route of NET development to get this sort of functionality (I'm sure it's possible if I jump through enough hoops). But here's what I'm trying to accomplish... - users are all on a local intranet with access to a shared drive (no prob) - users navigate a PHP-MySQL application to select records from a database (no prob) - users are able to click a link which will launch some sort of document (they have Office, but if something like PDF is available on a Windows platform, great) where a document template is fetched and updated with information from the selected record.(This is the part I don't understand how to do). An example... user wants to be able to print one of a variety of letters to physically mail to a customer, customized with the customer's account info. (You know:Dear [first name] [last name], ... Your account [account_id] ... is 30 days past due... etc ) This way, management can update the template and not have me re-work the code to have it work... Is such a thing possible on a windows PHP platform?Can someone point me to somewhere I can learn more about it? Thanks much, -P -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] PHP on an Windows intranet with MSOffice-like templates
I don't even know if this is possible, or if I'll have to go the route of .NET development to get this sort of functionality (I'm sure it's possible if I jump through enough hoops). But here's what I'm trying to accomplish... - users are all on a local intranet with access to a shared drive (no prob) - users navigate a PHP-MySQL application to select records from a database (no prob) - users are able to click a link which will launch some sort of document (they have Office, but if something like PDF is available on a Windows platform, great) where a document template is fetched and updated with information from the selected record.(This is the part I don't understand how to do). An example... user wants to be able to print one of a variety of letters to physically mail to a customer, customized with the customer's account info. (You know: Dear [first name] [last name], ... Your account [account_id] ... is 30 days past due... etc ) This way, management can update the template and not have me re-work the code to have it work... Is such a thing possible on a windows PHP platform? Can someone point me to somewhere I can learn more about it? Thanks much, -P -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php