how to use GD library with cake php

2013-10-10 Thread sneha kulkarni
how to use GD library with cake php plz help -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving

Re: Testing file uploads using SimpleTest web tests?

2013-10-10 Thread Kanaga Lakshmi
Hi Josh, Did you figure out the issue? I am testing my php file using simpletest webtestcase. The form has file type input where i upload files. I wrote webtestcase like this: $this-setField('file', 'path to filename'); $this-click('Submit'); $this-assertText('file uploaded successfully');

Re: 1.3 cakephp tree / behavoir

2013-10-10 Thread Rajkamal Ganesan
Hi, Use your cms plugin in app folder. cake components are configure with app folder. app your plugin is correct way. Thanks, Rajkamal On Wednesday, October 9, 2013 2:00:16 AM UTC+5:30, davido wrote: hi! my cakephp installation looks as the following application tree, whereby cms

Re: Writing data into a new worksheet using PHPExcel in Cakephp

2013-10-10 Thread Rajkamal Ganesan
Hi Friends, I use PHPExcel library. Controller : public $helpers = array('PhpExcel'); View : ?php $this-PhpExcel-createWorksheet(); $this-PhpExcel-setDefaultFont('Calibri', 12); $table = array( array('label' = __('Company'), 'width' = 'auto', 'filter' =

Re: Writing data into a new worksheet using PHPExcel in Cakephp

2013-10-10 Thread Rémi Dewitte
Hello, Do you have in your helper the following line ? App::import('Vendor', 'PHPExcel/Classes/PHPExcel'); Assuming you put PHPExcel in APP.Vendor/PHPExcel Cheers, Rémi On 9 October 2013 11:49, Rajkamal Ganesan rajkamalgane...@dreamstitude.comwrote: Hi Friends, I use PHPExcel library.

Re: how to use GD library with cake php

2013-10-10 Thread CrotchFrog
You would use GD library with Cake just as you would any other PHP application. Run phpinfo() to see if GD support is enabled. If it is you're good to go and there's nothing more to do, if not you'll need to download and install it to your PHP/Apache server environment. I believe on Windows

Re: New Member - Basic Security Questions!

2013-10-10 Thread euromark
You can also find some information on http://www.dereuromark.de/2010/10/05/cakephp-security/ Basically sanitizing was often used too eagerly, instead of using validation (which also usually is used too restrictive) and sane output escaping. Use whitelisting for security sensitive views - or

Re: Cake 2: Very confusing docs/tutorials... Is there another foolproof source?

2013-10-10 Thread Code Monkey
what is echo __d('cake_dev', 'what is cake_dev?') On Friday, 13 January 2012 02:13:17 UTC+7, burntcake wrote: Hi all, Sorry if this is another dumb post, but I get the feeling that the tutorials and docs are written with experienced Cake people in mind, rather than Cake novices. For

Re: Cake 2: Very confusing docs/tutorials... Is there another foolproof source?

2013-10-10 Thread Reuben
Holy necro post, Batman. __*() functions are related to translations. __d() is a domain specific translation. Specifically, it will look in the translation file cake_dev.po for a translation for what is cake_dev?. You can read a bit more about Internationalization and Localizations here :