| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> so i use a seperate 500usd ide just for xml work <0> rrrrright <1> nah for the JS and xml.. <1> anyways, intelliJ is the best java IDE <1> so its not only for JS hehe <2> lol position in que for WoW test realm, 3561 <3> Hmmmmm <3> if my string is simply spaces <3> why doesn't trim nullify it <3> or atleast change the length <0> how would that help <3> irzyxel? <4> $foo = preg_replace('/\s+/', ' ', trim($foo)); inside and out <0> it would still be an empty string <0> so how would that be helpful <5> hello
<3> irzyxel well no <5> I have a simple php mail script <5> it has this: $ar=array("0"=>"o","1"=>"c","2"=>".","3"=>"g","4"=>"@","5"=>"m","6"=>"r","7"=>"s","8"=>"a","9"=>"h","10"=>"i","11"=>"w","12"=>"l"); <5> what does this mean? <0> its your script, shouldnt you know ? <3> irzyxel well no <5> I downloaded it sir <3> I have a string like <3> " a" <3> and trim returns <3> " a" <3> errr <3> " a" <0> l0aded: you didnt read the topic, http://php.net/manual/en/function.array.php <3> OMG I'm retarded <0> not sure what its about, but i agree <3> lol <3> the reason it wasn't working <3> is because I was editing the wrong function :P <3> BING <3> BINGO <3> DWism <3> you there? <6> YEp <6> What's up? <4> my penis! <6> Eldritch: TMI, kthz <6> :) <4> want to come sit in my lap? <6> I'll p***, really. <3> DWism remember the library thing you said <3> I have a developer problem <6> yeah <3> lets say I have a function call <3> GetAllUsers() <3> but I need only specific users with a certain property <6> uhm <6> searchUsers? :) <3> no hold on <3> Now I could take my GetAllUsers() and use the information in there and filter out in PHP <3> or I could write another function very similar to GetAllUsers with the property I want. <6> why that would be wasteful and inefficient <6> the database should do the filtering <3> hmmmm <3> but then I'll have a bazillion Library Functions doing next to the same thing. <6> then write a multi-function? :) <6> I know, I'm billiant. :) <3> You mean write a function that can search... <3> hmmmmm <6> searchUsers($fields, $conditions, $values) <3> Hmmmmmm <3> and those would be SQL Strings I guess? <6> roughly <6> one would be an array of fields <6> one an array of conditions <6> one n array of values <6> :D <3> hmmm but a function like that removes the abstraction doesn't it? <2> *cough*database abstraction*cough* <6> yes and no <6> searching well requires bending abstraction a bit anyway
<6> one other option <6> would be to keep an object-to-db mapping <6> and p*** an object of the proper type to the search function <6> like a search prototype <3> Hmmmmm <6> and any value that is default is considered not searched by <3> I wonder how many queries one page requires to load now? <6> so you'd do libUser::searchUsersByPrototype($user_proto); <6> and $user_proto would look like... <6> $user_proto = new User(); $user_proto->permissions = PERMS_ADMIN; <6> or something <3> hmmmmm <3> wow <3> your permission system is so different :P <6> yes <3> then again I don't really have a user object <6> mine is logical and cool <6> and well thought out :D <3> excuse me <3> mine is too :P <3> LibPerm::CheckPerm('perm_string') <6> Yours hasn't been refined for 2+ years, no? :) <3> is just as good <6> ugh <3> :P <6> strings <6> puke <6> :D <3> actually I think It's been refinded over 2 hours <3> and then I haven't done anything since <3> lol <6> defines, hooked to binary values <6> role-based permission sets <6> action based permissions <6> :D <3> Hmmmmmm <3> Different actions / views require different permissions. <3> and permissions can be either team, subteam, or user based <6> soon I will build some form of introspection and move the permissions system to be fully managed online <3> oh you mean your permissions are loaded from file? <6> currently <6> but then <6> permissions are set in the files too <3> hmmmmm <6> for the action's required permission <6> so it makes no sense to set up perms in the DB when you have to edit files to change action permissions anyway <3> action permissions? <6> but if they're both web controllable, that's cool too <0> http://www.sun.com/x64/benchmarkbrawl/ <6> funtion calls will be permission aware, in the library, inherently <6> I can group function calls into actions <6> and actions to permissions <3> nice <3> I've been thinking of adding some permission checks into the Library functionsa <3> as right now they are just above the library <3> libraries <3> which sorta bothers me <7> hm <2> DCC SEND "1234567891011" <2> no steve :( <3> wow <3> 7542 lines of code <6> for? <3> my project <3> that includes html tho <3> which ****s <3> hmmmmm <3> 5896 approximately are not HTML <3> and by that I mean <3> 5896 do not contain a < <3> my libraries 1707 <0> iuuuh, anyone got plesk 8 beta ? <8> plesk ****s gonads <0> and you use instead ?
Return to
#php or Go to some related
logs:
IN: refresh: non-authoritative answer from master +0.0.0.0 #linuxhelp is not in the DOCUMENT_ROOT impregnate my mom qalbi/ london installing application on linux
What African peak is known as The Mountain of the Cold Devils ? netsnmp_udp_transport +stack smashing wyldroze
Sabryna Chase
|
|