Following the stackoverlow answer http://goo.gl/z9IWCB I did everything correct as mentioned in the answer to create pdf preview thumbnail using php but I struck with an error as such as this.
error no decode delegate for this image format `\path\filename.pdf’ @ error/constitute.c/ReadImage/532″. Continue reading
Want to switch between different databases in a CakePHP action? Do you want to use different database for different clients or sites? Don’t worry the solution more simpler than you thought it to be.
Following this link and few other similar links this is how I connected to different datasource in CakePHP. Continue reading