Re: cookie stays empty on production server

2009-05-25 Thread ar2oor
check yours cookie configuration $this-Cookie-path = '/'; $this-Cookie-domain = 'domain.com'; On Mon, May 25, 2009 at 7:07 AM, CheshirePuss (via Nabble) ml-user+202185-126257...@n2.nabble.comml-user%2b202185-126257...@n2.nabble.com wrote: I'm trying to implement a voting system, and I

encrypted Cookies problem - value of cookie

2009-05-24 Thread ar2oor
Hello, i have problem with encrypted cookies. Here i use encrypted cookie, and after writing cookie i hit f5 and i get strange random string.. if($this-Cookie-read('name')){ echo $this-Cookie-read('name'); }else{ $this-Cookie-write('name','Larry'); } when im not using

Re: Cake 1.2 Auth - Is someone logged in?

2008-08-27 Thread ar2oor
It's working on functions with $this-Auth-deny(); but its not working on functions with $this-Auth-allow(); ;/ any ideas ? On 17 Sie, 12:36, francky06l [EMAIL PROTECTED] wrote: The Auth login stores the user information in the Session  (with Auth key). The Auth-user() is actually a wrapper

multipart/form-data and 404 error.

2008-06-01 Thread ar2oor
When i send form using enctype=multipart/form-data i always get error 404 not found form action= enctype=multipart/form-data method=post when i remove enctype=multipart/form-data , form is sending correctly. form action= enctype=multipart/form-data method=post any ideas ?

Re: multipart/form-data and 404 error.

2008-06-01 Thread ar2oor
sorry , it's 403 error On 1 Cze, 13:19, ar2oor [EMAIL PROTECTED] wrote: When i send form using enctype=multipart/form-data i always get error 404 not found form action= enctype=multipart/form-data method=post when i remove enctype=multipart/form-data , form is sending correctly. form

Re: multipart/form-data and 404 error.

2008-06-01 Thread ar2oor
OK I found the reason: yesterday admin set SecFilterEngine to on ;/ so I just add one line to .htaccess and it works: SecFilterEngine Off Thanks anyway ;] ..and keep Baking ! On 1 Cze, 13:19, ar2oor [EMAIL PROTECTED] wrote: When i send form using enctype=multipart/form-data i always get

Re: How to change this URL

2008-06-01 Thread ar2oor
do you mean $Route-connect('/admin/:controller/*', array('action' = 'index')); and/or $Route-connect('/admin/:controller/:action/*'); ? On 1 Cze, 16:15, CakeMan [EMAIL PROTECTED] wrote: Hi, I am working on an website in Cakephp 1.1. I need to make the URLs such

Re: Routing - Many Slashes - One Parm

2008-05-25 Thread ar2oor
skaluj action in your controller, take a look at debug($this-params); It should have the info you need and you should be able to do a join(), etc. On May 22, 9:26 am,ar2oor[EMAIL PROTECTED] wrote: i got: $Route-connect('/thumb/:link', array('controller' = 'obrazki', 'action' = 'skaluj

Routing - Many Slashes - One Parm

2008-05-22 Thread ar2oor
i got: $Route-connect('/thumb/:link', array('controller' = 'obrazki', 'action' = 'skaluj'), array('link' = '(.)*')); www.asd.com/thumb/imgs/asd/dsa/dsa.jpg and i want to link=imgs/asd/dsa/dsa.jpg but i doesn't work :/ any ideas ? --~--~-~--~~~---~--~~ You