# |
Aug 7th 2008, 07:32 |
lqdice__ |
alkemann: not if your user is configured properly.. you MAY be able to do a ls but you wont be able to d/l or see anything if the user you are logged in as doesn't have permissions to anything outside of your folder |
# |
Aug 7th 2008, 07:32 |
alkemann |
stevieboy: xml parser probably uses something like that. have u looked at it? |
# |
Aug 7th 2008, 07:31 |
alkemann |
lqdice__: u can download a script, put it on ur server and u can then do "cd .." out to htdocs root and enter other ppls htdocs. (ok thats paraphrasing, I havent actually done it myself) |
# |
Aug 7th 2008, 07:31 |
stevieboy |
i can use fgets and so on |
# |
Aug 7th 2008, 07:31 |
stevieboy |
text |
# |
Aug 7th 2008, 07:31 |
lqdice__ |
stevieboy: what kind of file |
# |
Aug 7th 2008, 07:31 |
stevieboy |
some sweet magic? |
# |
Aug 7th 2008, 07:31 |
stevieboy |
is there anything in cake for reading files? |
# |
Aug 7th 2008, 07:30 |
alkemann |
i like him cause he is most proud of the country im from :P |
# |
Aug 7th 2008, 07:30 |
lqdice__ |
its pretty much all around the net.. even on the big boys sites |
# |
Aug 7th 2008, 07:30 |
alkemann |
nice name slartibartfast76 :) |
# |
Aug 7th 2008, 07:30 |
lqdice__ |
how is url rewriting not secure? |
# |
Aug 7th 2008, 07:30 |
slartibartfast76 |
alkemann: thanks for the hint. I have deletet den htaccess files an unkomment the line in the core. But I still have rewritet URLs in the links of the Application. And get 404 error if I click on them. |
# |
Aug 7th 2008, 07:26 |
alkemann |
well. in reality the question is this : do u want a pretty your or a secure webapp ? and by pretty I mean do u mind the index.php part of domain.com/index.php/apples/edit |
# |
Aug 7th 2008, 07:25 |
lqdice__ |
get a diff webhost ;P |
# |
Aug 7th 2008, 07:24 |
alkemann |
most often the problem is that the webhost dont allow htaccess and what u gotta do is delete them and uncomment a line in config/core.php |
# |
Aug 7th 2008, 07:21 |
slartibartfast76 |
Hello has some one experience to configure the htaccess files of cakephp with the provider webspace-verkauf.de ? Thanks in advance |
# |
Aug 7th 2008, 07:20 |
alkemann |
thats ok. we dont mind being a teddy |
# |
Aug 7th 2008, 07:18 |
jonathan_ |
never mind, worked it out myself |
# |
Aug 7th 2008, 07:15 |
alkemann |
achew22: u seen this http://www.google.no/search?q=cakephp+shadowtablesandie=utf-8andoe=utf-8andaq=tandrls=org.mozilla:nb-NO:officialandclient=firefox-a ? |
# |
Aug 7th 2008, 07:15 |
Caceres |
i use a generatelist(); but i have one error Warning (512): SQL Error: 1064:, anyboy whats know this? |
# |
Aug 7th 2008, 07:15 |
shockzZ |
ah k (haven't ever used that) |
# |
Aug 7th 2008, 07:15 |
Lion30 |
Ok, I exagerated a bit... I didn't realized :S I don't have only 20 controllers but 43 of them!! :S :S :S |
# |
Aug 7th 2008, 07:15 |
stevieboy |
shockzZ: ok, i wanted you to check cause the cake bake-console app adds an absolute path there |
# |
Aug 7th 2008, 07:14 |
shockzZ |
donno what's wrong there but a view pages give a view and others do not |
# |
Aug 7th 2008, 07:14 |
shockzZ |
@stevieboy it's the same as the ROOT path and i haven't changed that since windows |
# |
Aug 7th 2008, 07:13 |
jonathan_ |
Whats the syntax to render a view from a different controller? |
# |
Aug 7th 2008, 07:12 |
shockzZ |
k mom |
# |
Aug 7th 2008, 07:12 |
stevieboy |
shockzZ: check the cake_include_dir in webroot/index.php |
# |
Aug 7th 2008, 07:11 |
jonathan_ |
@lion30 if you edited the main controller class you could in theory do this |
# |
Aug 7th 2008, 07:10 |
Lion30 |
I hope someday there will be a way to organize controllers and models in someking of groups / subdirectories |
# |
Aug 7th 2008, 07:10 |
shockzZ |
hey guys .. i copied my cake/app (from windows Xampp) to a linux with lampp to do further work on linux .. and now it seems like cake can't find it's views (i dumped the variables at the end of the controller function and on beginning of the view, i only receive it once and then an "exhaust" error or a blank page) -> wtf!? |
# |
Aug 7th 2008, 07:10 |
Lion30 |
I hate this way of organizing things :S.... I am making a protal with many modules and I am having 20+controllers all in one directory (even If I frequently use only 3 or 4 of them)... the same goes with models and views driectories |
# |
Aug 7th 2008, 07:09 |
jonathan_ |
hi, got a quick question if anyones got time |
# |
Aug 7th 2008, 07:08 |
Kitara |
usualy i dont see my PM's :) |
# |
Aug 7th 2008, 07:08 |
Kitara |
you already answered that ;) |
# |
Aug 7th 2008, 07:08 |
Kitara |
trueaxe: so i have to place that in all the controllers where i want people to have full access in the beforeFilter ? |
# |
Aug 7th 2008, 06:59 |
trueaxe |
Kitara: $this->Auth->allowedActions = array('index', 'view'); |
# |
Aug 7th 2008, 06:59 |
alkemann |
yea :( |
# |
Aug 7th 2008, 06:59 |
zeen |
google code seems a little foobared atm, lots of 404/500s |
# |
Aug 7th 2008, 06:51 |
Kitara |
how can you allow users to have access to a several pages with ACL by default without logging in ? |