@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32



Comments:

<0> look ||cw preg_replace("/()/e",ord("\\1"),"")
<0> this return 92, and without ord, this return ""
<1> can anyone lead me to information on compare and merge algorithms? i've been googling for 2 days now and can't find good information
<2> Whats a easy to use set of database cl***es?
<3> emxxx: try preg_replace("/()/e",ord("\\1"),""), i think it's eval the ord before the preg, and really order of oerations say it should
<3> er
<3> try ord(preg_replace("/()/e","\\1",""))
<0> i found the error ||cw
<3> so you are getting ord('//') or the ascii val of /
<0> preg_replace("/()/e","ord('\\1')","");
<0> lol...
<4> cya
<5> gabrielone: can you decrypt/encrypt an entire cookie in the same command? i thought you had to encrypt/decrypt individual cookie vars.
<6> b1n0ry: It is actually seperated out in seperate functions......
<6> b1n0ry: The encryption runs without fail, but it is dying whe trying to decrypt it and putting the results in a list
<5> gabrielone your _encrypt and _decrypt functions are written to handle strings not arrays yet you are p***ing them arrays.



<6> b1n0ry: The error is in the function _unpackage
<5> gabrielone i know, but the particular line in your _unpackage function that is causing the error is your call to _decrypt
<6> b1n0ry: I see what you are saying now, but I honestly do not know how to address your point.
<6> b1n0ry: Is it not taking the values and just using the list to do the same thing once decrypted
<6> b1n0ry: I am just asking....
<6> b1n0ry: I really do not know
<5> gabrielone: what you need to do is enclose your _encrypt call (in _package) and your _decrypt call (in _unpackage) and enclose them in a foreach so that each cookie var is encrypted individually and kept separate. my guess is right now the only thing that you are encrypting in _package is the string "ARRAY" (which is returned if you just try to echo an array by reference) thus why it's unable to decrypt.
<7> dotChad fix your client please
<2> what does "A::foo();" mean?
<8> FatalRemedy: it's a call to a cl*** method.
<5> FatalRemedy: it means that the function called foo() which is defined in a cl*** called A is being called but cl*** A has not been instantiated into any specific object.
<2> so, if it was instantiated into a specific obeject.
<5> FatalRemedy then it would be called such as $object->foo();
<2> $object = new A; $object->foo();
<2> whatever, sorry.
<2> Im just trying to get a grasp of oop. Ive learned java and know it works, just gotta wrap my head about this, heh.
<5> FatalRemedy yep, that's right.
<6> b1n0ry: Please donot get aggrevate with this question, that I am sure will be stupid, but does the foreach need to be on the $cookie = implode(self::$glue, $parts); in the _package
<8> FatalRemedy: you might want to find a good book on OOP design. once you get past the syntax, you're not going to magically understand OOP.
<5> gabrielone actually, i would probably encrypt the parts and -then- do the implode. then, explode before you decrypt. that way the client has a way to keep the cookie straight.
<5> FatalRemedy you are correct. call functions like: cl***::function() or $object->function();
<2> caffinated, well. I know java, and how oo systems work. Any good online resources?
<6> b1n0ry: Okay I will try that... Thanks.... I may need some direction here in a minute, but I think I might understand enough to do that...
<8> FatalRemedy: not that I can think of off the top of my head.
<2> caffinated, ok.
<5> calling by cl*** allows you to call a function (perhaps you overrided a parent function with your object and you still want to run the parent function as it was originally written) without having an object defined by the cl***.
<8> FatalRemedy: if you really want to have a language that embraces OOP, you should be looking at smalltalk or ruby. PHP is at best mediocre when it comes to the idea of OOP design.
<5> PHP is basically a procedural language with some OOP design accomodations.
<8> and yes, even in php5
<8> hell, even java gets it wrong.
<9> im trying to display all records from a table where a field equals that of another tables field...
<9> should i use a nested query?
<9> and where can i find info on the format of a nested query?
<8> mindamp: look in to left join syntax
<5> mindamp: you need a join, not a nested query
<9> left join syntax
<9> ok
<5> does mysql even support nested query yet?
<8> b1n0ry: wow, why didn't I think of that?
<5> caffinated: lol, sorry didn't see your answer
<8> ;)
<5> i was on the phone and looked over and saw mindamp's question
<5> great minds...
<8> b1n0ry: heh, I'm just buggin
<7> b1n0ry quit calling those 900 numbers!
<10> ||cw, should I use p***thru and output buffering? Because I can't seem to get the full execution string returned.
<8> pod: try shell_exec() to get all output from STDOUT
<5> yeah, i wish... actually someone erased the listen-only message on our company directions line for truck drivers. yippee.
<5> pod: i think you should try shell_exec()...
<8> pod: if you need STDERR as well, use proc_open()
<5> ;)
<8> rawr
<5> ..mmm... harder
<8> haha
<7> b1n0ry: So? re-record it sending them to Area51
<5> Jymmm good idea
<7> b1n0ry or... better yet directions to http://BunnyRanch.com/
<5> think i'm going to have to redesign this a bit... logging into PBX and Audix... this'll be fun... NOT
<10> Thank you very much caffinated.



<8> pod: no trouble.
<11> oh sorry... just took one of my dog... damn you two are hard to distinguish apart from one another :P
<5> Jymmm yeah, i need to go there some day
<8> jiggster: I'd just like to say first and formost that that is a violation of the geneva convention!
<11> if you inslut me, you gonna get inslutted back :P
<8> mmm, he said inslutted
<11> caffinated: maybe so, but it was still fun
<8> hehe
<12> Hello All
<12> I need some help in information regarding "how to add functions to php?"
<8> gARYb: function dosomething() { echo "horay!"; }
<11> or as in modules?
<11> extensions
<8> jiggster: check the Zend API section in the manual
<11> i'm not the one asking, maybe gARYb meant extensions? :P never know i'm just fscking guessing
<8> there are a few here who do that sort of thing, but I don't think any are active. you probably want pollita, mattmcc or TML for questions regarding those.
<11> i'm not the one asking
<11> but i know what you're doing, so kudos to that
<9> hmm
<9> i don't think a left join will work...
<9> i have a field in the first table that has data serperated by pipes
<11> uhm? ok
<8> mindamp: it probably will.
<5> mindamp: perhaps #mysql?
<8> ***uming your description of the problem is accurate.
<9> and i need to display results from the second table where the field matches one of the pipe dilemeted values of the first table
<5> sounds like poor db design :)
<9> is that a left join?
<8> it is.
<9> yeh well...
<9> i know
<12> caffinated: want to add some functions to php core engine
<9> any suggestions?
<9> still a left join?
<7> !+sql
<13> [SQL] Structured Query Language - the language for most DB Systems. See http://www.w3schools.com/ http://www.sqlcourse.com/ http://www.onlamp.com/pub/ct/19 and #mysql, #postgresql or #sql
<11> i need to get me a list of php-bots commands :P
<9> so is that still a left join?
<7> jiggster: Most are by memory
<11> bleh
<9> eh?
<11> hummies
<9> bummies
<7> bunnies
<9> hunnies
<11> i like bunnies, playboy bunnies come to mind in fact
<14> hi, i have this to replace any "illegal" character on a string to _. however i need to add to the non-illegal expression accentuated characters. can someone please help me. preg_replace("/[^a-zA-Z0-9\-_]+/", "_", $text_val);
<7> jiggster: BLONDE SILICON OVERLOAD
<15> any idea why a sql statement would execute twice, when the command is only called once? It happens randomly, and I have put code into my database cl*** to verify the command is only caused once, but randomly it will do two inserts instead of one.
<7> Hef *REALLY* like shis blondes, that's for sure.
<8> mindamp: if you can help it, you should properly normalize that database. pipe delimited lists in a field are worthless.
<14> Jymmm, you are good at reg expressions :) can you give a try, please.
<11> yeah for sure
<16> i moved my servers documentroot, but now the includepath of my php is wrong. where can i set it?
<9> caffinated... i can't fix that
<7> batataa not me, try jiggster
<15> batataa: first of all, the ^ at the begining means the string begins with a-zA-Z0-9... I am pretty sure
<9> but i still need to complete this query
<8> mindamp: then any solution you're going to employ is going to include ridiculous overhead
<15> its not a "not"
<9> i know
<9> but i must still continue
<11> batataa: accentuated characters?
<9> i just really need to know how to display results from table1 field1= table2 field2%|...
<15> batataa: did you see what I said?
<9> or something of the sort right?
<9> but how do i do a query within a query?
<14> chasep_work, that one works fine, every single illegal character is converted to underscore. however it converts also, for example, . i need to allow accentuated chars.
<15> oh
<9> SELECT *


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

shfs_dentry_operations
#mysql
#web
fc5 totem decoders
#math
mark_alec
ubuntu bcm43xx wmp11v27
#php
#kde
the attempt to mount a file system with type ext3 failed



Home  |  disclaimer  |  contact  |  submit quotes