background preloader


Facebook Twitter

HTML Mime Mail for PHP. FPDI - Import existing PDF document... Free PDF Document Importer FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF, which was developed by Olivier Plathey.

FPDI - Import existing PDF document...

Apart from a copy of FPDF, FPDI does not require any special PHP extensions. As of version 1.2.1 FPDI can also be used with TCPDF. FPDI is published under the Apache Software License, Version 2.0. The usage is very easy: open the document, put a page into a template, and use it like an image! About FPDI is the first PHP/PDF script by Setasign. Downloads > Add-On. /***************************************************************************** Software: FPDF_Protection ** Version: 1.02 ** Date: 2005/05/08 ** Author: Klemen VODOPIVEC ** License: Freeware ** ** You may use and modify this software as you wish as stated in original ** FPDF package. ** ** Thanks: Cpdf ( was my working sample of how to ** implement protection in pdf. *****************************************************************************/ require('fpdf.php'); class FPDF_Protection extends FPDF{ var $encrypted; //whether document is protected var $Uvalue; //U entry in pdf document var $Ovalue; //O entry in pdf document var $Pvalue; //P entry in pdf document var $enc_obj_id; //encryption object id var $last_rc4_key; //last RC4 key encrypted (cached for optimisation) var $last_rc4_key_c; //last RC4 computed key function FPDF_Protection($orientation='P', $unit='mm', $format='A4') { parent::FPDF($orientation, $unit, $format); return $out; }

Downloads > Add-On

Index / Webinar / Zend. Elements. CakePHP : the rapid development php framework. CakePHP resources. On this page I try to list the most useful resources for a cakebaker.

CakePHP resources

If you are missing a site, please let me know, and I will add it. Updates 2008-12-16: Adding cakephp.cl2008-12-14: Adding Planet CakePHP and CakeDC blog2008-10-07: Adding links related to The Show, modifying link for the Portuguese Google Group2008-08-10: Adding new blogs, adding books section, moving some links to the “deadpool”2008-07-15: Removing as it contains the same content as, moving some links to the “deadpool”2008-04-25: Replacing with, removing link to tempdocs2008-02-28: Cleaning up and adding “deadpool” section Official resources The official CakePHP website. Places for discussions, questions, etc. The main discussion group (in English). Blogs Felix Geisendörfer (aka the_undefined), Tim Koschützki and Nate Abele.

Books Beginning CakePHP: From Novice to Professional (Amazon ), by David GoldingCakePHP Application Development (Amazon Misc. Tutorials:flashing. Batteries Included The things you need are built-in. Translations, database access, caching, validation, authentication, and much more are all built into one of the original PHP MVC frameworks. Clean MVC Conventions Instead of having to plan where things go, CakePHP comes with a set of conventions to guide you in developing your application. Secure CakePHP comes with built-in tools for input validation, CSRF protection, Form tampering protection, SQL injection prevention, and XSS prevention, helping you keep your application safe & secure. Calling controller actions from cron and the co... This is a very simple tutorial that shows how you can modify the dispatcher to call controller actions from the command line and cron.

Calling controller actions from cron and the co...

On the Google Group there has been quite a few threads about the best way to run cron jobs when using CakePHP. This is something I had do for my one of projects and I figured out a very simple way to do it by modifying the dispatcher so controller actions - such as an action to send out a batch of emails - can be invoked from the command line. It's very simple. What you do is make a copy of index.php in /app/webroot/, call it cron_dispatcher.php and place it in /app.

Scroll down in the code till you come to the line:- require CORE_PATH.' Storing Hierarchical Data in a Database [PHP & ... This article was written in 2003 and remains one of our most popular posts.

Storing Hierarchical Data in a Database [PHP & ...

If you’re keen to learn more about mastering database management, you may find this recent article on MySQL of great interest. Whether you want to build your own forum, publish the messages from a mailing list on your Website, or write your own cms: there will be a moment that you’ll want to store hierarchical data in a database. And, unless you’re using a XML-like database, tables aren’t hierarchical; they’re just a flat list.

You’ll have to find a way to translate the hierarchy in a flat file. Storing trees is a common problem, with multiple solutions. In this article, we’ll explore these two methods of saving hierarchical data. This article contains a number of code examples that show how to save and retrieve data. The first, and most elegant, approach we’ll try is called the ‘adjacency list model’ or the ‘recursion method’. As you can see, in the adjacency list method, you save the ‘parent’ of each node. Symlinking to svn copies. User Permissions and CakePHP ACL. Some ideas to organize your CSS files and autol...