# |
Sep 11th 2009, 09:30 |
__mork1 |
bye folks. happy coding |
# |
Sep 11th 2009, 09:30 |
TehTreag|AFK |
hmv: hmvrulz: _patton: http://irc.cakephp.org/logs/link/1031692#message1031702 |
# |
Sep 11th 2009, 09:30 |
KarlHungus |
ACTION sighs |
# |
Sep 11th 2009, 09:30 |
_patton |
hmv: sorry, forget that last comment |
# |
Sep 11th 2009, 09:29 |
_patton |
hmv: not via cake? does the salt go first or last? I'm not sure... |
# |
Sep 11th 2009, 09:29 |
hmv |
so i hav used that function |
# |
Sep 11th 2009, 09:29 |
hmv |
in the database |
# |
Sep 11th 2009, 09:29 |
hmv |
@patton but i am inserting it manually |
# |
Sep 11th 2009, 09:28 |
_patton |
hmvrulz: if you are using auth component, you don't need to hash the password manually using Security class, auth will do that for you when the user is registered... |
# |
Sep 11th 2009, 09:28 |
_chris_ |
can i load the contents of an element into a variable in a controller? |
# |
Sep 11th 2009, 09:28 |
hmvrulz |
http://book.cakephp.org/view/172/Authentication i hav done as this manual nothing extra |
# |
Sep 11th 2009, 09:27 |
hmvrulz |
do i have to |
# |
Sep 11th 2009, 09:27 |
hmvrulz |
@_patton i am not checkin anything i hav left login action blank |
# |
Sep 11th 2009, 09:25 |
FMC |
How to look in an associated like. Actual controller : Article that belongsTo Post. Post hasMany Comment. From Article.view, $this->Post->Comment->find('all') find all Comments, not the one linked to Post that is linked to Article |
# |
Sep 11th 2009, 09:25 |
jrod |
tPl0ch: :) |
# |
Sep 11th 2009, 09:25 |
tPl0ch |
jrod: do you have an url to the site where you were using red5? |
# |
Sep 11th 2009, 09:25 |
_patton |
hmvrulz: are you using auth component? that hashes the password from the form automagically before you check against it in controller... |
# |
Sep 11th 2009, 09:25 |
KarlHungus |
hmvrulz: and does the password in teh query match the result from Security::hash? |
# |
Sep 11th 2009, 09:25 |
TehTreag|AFK |
hmvrulz: See http://api.cakephp.org/class/security#method-Securityhash |
# |
Sep 11th 2009, 09:24 |
KarlHungus |
hmvrulz: what is the query? |
# |
Sep 11th 2009, 09:24 |
TehTreag|AFK |
hmvrulz: Passwords are hashed by default as - sha1($salt.$passwd) |
# |
Sep 11th 2009, 09:24 |
hmvrulz |
can anyone guide me |
# |
Sep 11th 2009, 09:23 |
hmvrulz |
when i use login xyz and password temp it shows login error invalid user name and password |
# |
Sep 11th 2009, 09:23 |
hmvrulz |
i hav used output of this as password |
# |
Sep 11th 2009, 09:23 |
hmvrulz |
i hav inserted a user in database with username xyz and Security::hash('temp') |
# |
Sep 11th 2009, 09:22 |
genu |
hey, I'm trying to match "<!-- STARTING 1 -->", so far I got "<!--\s*.*", and its working ok, but how can I make it stop at "-->"? |
# |
Sep 11th 2009, 09:22 |
jrod |
markstory: just found some brief articles on it... it doesnt seem very popular so i am wondering how viable it is (i know Scribd does it somehow) |
# |
Sep 11th 2009, 09:21 |
markstory |
jrod: I have not. |
# |
Sep 11th 2009, 09:20 |
jrod |
you can to RTMPD ? (forget name) on 80 instead of 8080 |
# |
Sep 11th 2009, 09:20 |
jrod |
it can |
# |
Sep 11th 2009, 09:20 |
tPl0ch |
? |
# |
Sep 11th 2009, 09:20 |
tPl0ch |
jrod: red5 does use http as streaming protocol |
# |
Sep 11th 2009, 09:18 |
m3nt0r |
ic |
# |
Sep 11th 2009, 09:18 |
markstory |
m3nt0r: view caching can work but you might get cache issues if you have xhr and non xhr requests with the same params. |
# |
Sep 11th 2009, 09:17 |
jrod |
have you ever heard of printing a view port ? / text area from flash? |
# |
Sep 11th 2009, 09:17 |
markstory |
a bit |
# |
Sep 11th 2009, 09:17 |
m3nt0r |
easier to maintain, DRY, etc.. |
# |
Sep 11th 2009, 09:17 |
jrod |
markstory: OT do you know flash ? |
# |
Sep 11th 2009, 09:16 |
m3nt0r |
markstory: okay. i only thought view caching might be better since it auto clears cache on update/insert/delete. |
# |
Sep 11th 2009, 09:15 |
markstory |
and usually the most expensive thing is database interaction. |
# |
Sep 11th 2009, 09:15 |
markstory |
m3nt0r: view caching can't tell the difference between xhr html and non xhr html requests. |