I’ve pretty much tried all the PDF libraries out there for saving HTML to PDF appropriately and correctly using PHP and came to a conclusion (continue reading). The one that worked the fastest and most efficiently was the HTML to PDF class on PHP Classes but eventually this EasySW remote HTML to PDF service in [...]
Continue reading...19. January 2012
Using special, regular expression characters in regular expressions require you to escape them in the regular expression pattern. I had an issue with dynamically getting an array of URLs from HREF attribute from links using PHP preg_match_all and then wanted to replace this array of URLs dynamically in a loop again with their Bit.ly links [...]
Continue reading...5. January 2012
Are you having problems with images not displaying in DomPDF generated PDFs? The probable reason is because you’re linking your images in HTML with a path from the script or with an absolute URL like this: <img src="images/myimage.jpg" /> OR <img src="http://domain.com/images/myimage.jpg" /> The solution is to change the image SRC to the absolute path [...]
Continue reading...1. October 2008
On a production site, you would most likely want to hide all possible PHP errors, warnings and notices from your users for both usability, presentational and security purposes.
Continue reading...2. September 2008
I wrote a useful article/tutorial over at BloggingRocket which guides you through the process of installing WordPress with Shell Access. Please feel free to check it out and comment.
Continue reading...9. August 2008
With CakePHP, the controller core automatically detects the file name of the view file which needs to be rendered from a controller action. You might want to reuse an existent view for an action or specify a different file name.
Continue reading...6. August 2008
I recently integrated a blog and documentation base into the Tribulant.com website and noticed after a few days that my WordPress.com stats stopped working completely after switching the theme.
Continue reading...5. August 2008
Have you ever received a fatal error on your server similar to the one below when you tried to execute a script? The fatal error shown below, indicates that your PHP configuration has a memory limit set and the script which you are executing is trying to allocate more memory than what is available for [...]
Continue reading...28. June 2008
When you develop a WordPress plugin or theme, you might want to make use of the jQuery library included and distributed with the WordPress package.
Continue reading...25. June 2008
First off, you have to know that not all WordPress plugins can be translated. The plugin developer(s) had to take the necessary steps such as using the WordPress __() and _e() functions and load_plugin_textdomain() in order to parse the strings/text of the plugin through the localization system.
Continue reading...
31. January 2012
0 Comments