Re: How to secure database info in database.php

2011-06-13 Thread dtemes
It's a good practice to restrict the permissions of the file, so that only the users who need access to it can read or write it, for instance your apache user. Even if regular users can not access what is behind your web server it's not enough, seems that other responses assume you are the only

Re: How to secure database info in database.php

2011-06-13 Thread Phang Mulianto
I think if you have a running application, especially you build, you should better have a private environment, not shared environment, especially shared hosting. Except you have the shared hosting infrastructure managed by yourself, that much better. maybe some say it's costly to have a private

Re: Auth/Session - obtaining user/loginname

2011-06-13 Thread PaulMan
Hello, here's a hint Auth Component it's execelent for very simple sistems ... you will be Reinventing the wheel Spent some more time with the Auth Component , it even gives you information about connected users http://book.cakephp.org/view/1255/AuthComponent-Methods#user-1264 On Jun 11, 6:32 

Mod_rewrite

2011-06-13 Thread Magician
I am struggling a bit with my first cakephp program. I have made the model, the controller, and the view for this program. I also gave them their correct names and put them in their respected folders. However, when I try to access the controller for this program in my web browser, it states that

Re: Mod_rewrite

2011-06-13 Thread Sam Sherlock
Have you seen this entry in the book http://book.cakephp.org/view/1533/A-Note-on-mod_rewrite it has options and instructions On 13 June 2011 15:42, Magician davis_justinmich...@yahoo.com wrote: I am struggling a bit with my first cakephp program. I have made the model, the controller, and

How to inactive Acl

2011-06-13 Thread taq
now I use acl component in my webapp when I add new action I got you unauthorize to access this location I must to build new aco but I lazy I need to build after project complete -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP

How to use Jquery with CakePHP 1.3...PLEASE HELP

2011-06-13 Thread davestar057
PLEASE can somebody help me and explain (in simple terms) how to use Jquery with cakePHPthe cake tutorials just seem to 'brush over' this topic in the manual, so I am hoping somebody will be kind enough to explain it in a little more detail on here?!?!? I understand you download jquery and

Re: How to use Jquery with CakePHP 1.3...PLEASE HELP

2011-06-13 Thread Điển vũ
Don't use JavascriptHelper , use JsHelper instead. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send

HABTM relationship don't save with Char PK

2011-06-13 Thread jorge1209
Hi, I'm using for my user table, username like PK and I have a HABTM relationship between user and messages, but when I create a message, the table messages_recipients is empty :( any help?? best regards, Jorge -- View this message in context:

JS helper, get body

2011-06-13 Thread Agus
Hi, I'm trying to add an event to the body onload event, using the js helper of cakephp. I'm adding this to the view $this-Js-get('document.body'); And then the $this-js-request But it's not working, i check with firefox and it never makes the request. At the same page i have 2 more ajax

Missing Controller

2011-06-13 Thread Magician
Hi. This is the newbie programmer again. I am need of some help. I am currently working on a Cakephp page and have created the necessary MVCs. However, when I load my main page (in this case localhost/Cake) I get two error messages which are as follows: Error: CakeController could not be

Re: vps vs dedicated server

2011-06-13 Thread Azril Nazli
For cooler video hosting, try Wowza Media Server. I use them to serve video in these formats - rtmp with flv and mp4 container - Apple HTTP - rtsp - SilverLight And I use CakePHP to manage all the videos Azril http://iiiBuntu.com On Jun 10, 9:48 pm, Maurits van der Schee maur...@vdschee.nl