Djpate - djpate.com
General Information:
Latest News:
Using rowCount with the sqlite driver of PDO. 3 Dec 2011 | 04:10 am
If you are reading this post, you’re probably facing an issue with sqlite and pdo that prevents you from using the rowCount method on a PDOStatement instance. Apparently the new API of sqlite does not...
How to generate a word docx from a template with PHP ? 19 May 2011 | 02:44 am
Hey folks, A lot of clients of mine asked for docx generation in the past. The only solution that I knew of in PHP is the SOAP client phplivedocx. first of all It was kinda slow and I didn’t want to r...
How to compile Spawner the Sql data generator on Ubuntu 18 Apr 2011 | 07:25 pm
A little while ago I discovered spawner. Spawner is a generator of sample/test data for databases. It can be configured to output delimited text or SQL insert statements. It can also insert directly i...
How to make cross-domain ajax request using jsonp & jquery 26 Feb 2011 | 12:22 am
As you may know AJAX request cant be done across domain (even across subdomain). This is a security feature but sometimes It can pretty usefull to make call between domains. Luckily for us AJAX allows...
How to setup Xdebug on ubuntu 10.10 21 Feb 2011 | 01:03 am
Hello, I’ve been trying to figure out how to actually set up Xdebug on my php configuration but I never managed to get the “Styled” version of Xdebug. I finally figured out why so I decided to share i...
jTag : A jQuery plugin to tag pictures & more ! 15 Jan 2011 | 04:04 am
Howdy, A little while ago I published an article on how to create a facebook like tagging system. Even thought It worked fine it was a bit messy and kinda hard to impletement. I then started to work o...
How to write a complete OAuth Provider in PHP5 14 Jan 2011 | 03:02 am
Today I’m going to talk about a subject that doesn’t have a lot of coverage on the web. There is a lot of tutorials about how to use OAuth authentication for twitter services or google & such but ther...
Animated scrollto effect jQuery plugin 2 Jan 2011 | 04:44 am
Howdy, Since my post about this effect has a lot of succes I decided to make a little plugin to simplify it even more. First of all go check out the Demo. Download You can download it from github or u...
gmail, yahoo & live messenger contact inviter script 18 Dec 2010 | 11:41 pm
Howdy, you guys have probably noticed that most of the contact inviter script out there were broken now because most of the new api’s only support Oauth protocol instead of the good ol’ login / passwo...
Using JQuery Validation plugin with tooltips 17 Nov 2010 | 03:16 am
Today I’ll share with you a little tweak that took me a while to figure out. I wanted to tweak the excelent jQuery Validation plugin to display errors in tooltips. Here is my solution using Qtip DEMO ...