Re: any way to omit app/webroot when request image file or directory inside it

2011-02-25 Thread mohammad Al-Ani
: You can try setting up some apache mod_rewrite rules. But on top of that, anyone can see that you are sing Cake by checking your form structure, or that you are using named params. On Feb 24, 9:52 am, mohammad Al-Ani alani.moham...@gmail.com wrote: hi all.. hope you do well I use

Re: any way to omit app/webroot when request image file or directory inside it

2011-02-25 Thread mohammad Al-Ani
thanks for all but i stile looking for some settings or code to solve that On 25 February 2011 16:40, mohammad Al-Ani alani.moham...@gmail.com wrote: thanks Miles J But on top of that, anyone can see that you are sing Cake by checking your form structure, or that you are using named params

any way to omit app/webroot when request image file or directory inside it

2011-02-24 Thread mohammad Al-Ani
hi all.. hope you do well I use cakephp from along and I faced a problem that I think it's a security issue when I request any file or directory that settle inside webroot directory. The URL automatically show the app/wedroot slug ex: request * *www.mydomian.com/css/main.css change in

Re: Dreamweaver - Getting Code Coloring and Design View to work on CTP files

2009-02-07 Thread mohammad al-ani
thank you for this powerful tip. and I hope to get a same as it to coloring ctp file with notepad++ On Sat, Feb 7, 2009 at 9:19 PM, Leonard Teo teo.leon...@gmail.com wrote: Just adding here so that others can find the information later If you use Dreamweaver, by default, you'll find that

Re: Dreamweaver - Getting Code Coloring and Design View to work on CTP files

2009-02-07 Thread mohammad al-ani
name=php ext=php php3 phtml ctp commentLine=// commentStart=/* commentEnd=*/ and have cool programming : ) On Sat, Feb 7, 2009 at 11:45 PM, mohammad al-ani alani.moham...@gmail.comwrote: thank you for this powerful tip. and I hope to get a same as it to coloring ctp file with notepad

Re: utf-8 encoding problem

2009-02-03 Thread mohammad al-ani
Dr. Loboto all of my pages encoded with utf-8 and the problem is not in my page the problem is with the firefox and everything go perfect with IE see my last reply to Webweave On Tue, Feb 3, 2009 at 6:50 AM, Dr. Loboto drlob...@gmail.com wrote: Mohammad Al-Ani, you really found your real

Re: utf-8 encoding problem

2009-02-03 Thread mohammad al-ani
://tinyurl.com/b8fl58 If you load up Firebug, you should be able to look at the Response headers and see the Content-Type of text/html; charset=UTF-8 On Feb 2, 11:21 am, mohammad al-ani alani.moham...@gmail.com wrote: thank you Dr. Loboto but i find the real problem. i develop the site

Re: utf-8 encoding problem

2009-02-02 Thread mohammad al-ani
1, 3:02 pm, mohammad al-ani alani.moham...@gmail.com wrote: thank you all for your time and help but my problem actually is caused by the browser . he send the url query to the cakephp in the form of ANSI and i configure the cake and the header of generated page to use the utf-8 so

Re: utf-8 encoding problem

2009-02-01 Thread mohammad al-ani
thank you all for your time and help but my problem actually is caused by the browser . he send the url query to the cakephp in the form of ANSI and i configure the cake and the header of generated page to use the utf-8 so the quastion is how to change the recived ansi data to the utf-8 data it's

Re: utf-8 encoding problem

2009-01-30 Thread mohammad al-ani
please any suggestions On Fri, Jan 30, 2009 at 10:48 AM, mohammad al-ani alani.moham...@gmail.comwrote: and when i choose the windows-1256 i see the real world which is مقال On Fri, Jan 30, 2009 at 10:23 AM, mohammad al-ani alani.moham...@gmail.com wrote: params show me the value

Re: utf-8 encoding problem

2009-01-29 Thread mohammad al-ani
params show me the value of the key 'keyword' is yes like this symbols On Fri, Jan 30, 2009 at 2:48 AM, brian bally.z...@gmail.com wrote: What does $this-params show you? On Thu, Jan 29, 2009 at 5:18 PM, medo alani.moham...@gmail.com wrote: hi group, i have problem with my

Re: utf-8 encoding problem

2009-01-29 Thread mohammad al-ani
and when i choose the windows-1256 i see the real world which is مقال On Fri, Jan 30, 2009 at 10:23 AM, mohammad al-ani alani.moham...@gmail.comwrote: params show me the value of the key 'keyword' is yes like this symbols On Fri, Jan 30, 2009 at 2:48 AM, brian bally.z...@gmail.com wrote

Re: complex problem

2009-01-23 Thread mohammad al-ani
please group any suggestions On Thu, Jan 22, 2009 at 9:13 PM, mohammad al-ani alani.moham...@gmail.comwrote: websta i try this before but get the same problem, and of course thank you for that tip and RoVo thank you t give me the appropriate knowledge about the use of prefix and now i face

Re: complex problem

2009-01-22 Thread mohammad al-ani
websta i try this before but get the same problem, and of course thank you for that tip and RoVo thank you t give me the appropriate knowledge about the use of prefix and now i face a new problem is how to make a custom routing to two dir one for admin and other for the super admin like i enplane

Re: how to make this pouting

2009-01-20 Thread mohammad al-ani
thank you Amit Badkas and RoVo but i try not to change the funtion in the controller and not to use the Configure::write('Routing.admin', 'admincp'); i try to use the routing system to make every thing work without changing the actions prefix so i just try something like this in the routes.php

Re: how to make this pouting

2009-01-20 Thread mohammad al-ani
/:controller/:action', array('controller' = $this-params['controller'], 'action' = 'admin_index')); before Router::connect('/admincp/:controller', array('controller' = $this-params['controller'], 'action' = 'admin_'.$this-params['action'])); instead of after 2009/1/20, mohammad al-ani alani.moham

Re: how to make this pouting

2009-01-20 Thread mohammad al-ani
hi ad7six i don't want to implement the admin in this way. i want to implement admin for every controller with it's actions On Tue, Jan 20, 2009 at 4:29 PM, AD7six andydawso...@gmail.com wrote: On Jan 20, 2:17 pm, mohammad al-ani alani.moham...@gmail.com wrote: i try that amit

Re: how to make this pouting

2009-01-20 Thread mohammad al-ani
ok i find this solution Router::connect('/admincp/:controller/:action/*', array('prefix' = 'admin')); i think it's the right one and i didn't face problems with it On Tue, Jan 20, 2009 at 4:33 PM, mohammad al-ani alani.moham...@gmail.comwrote: hi ad7six i don't want to implement the admin