@# 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



Comments:

<0> tecta, try global $str
<1> Stormchaser, Yeah, but I'm not sure what's wrong with it.
<0> tecta, so your function doesnt need arguments
<1> ok
<2> cleanup($this->str) <-- I HIGHLY doubt that that's valid as a default argument
<3> tecta, the function's definition is incorrect
<4> Hi
<4> I'm trying to add a zero the the beginning of a variable...
<3> Kcaj, sprintf()
<5> $var = '0' . $var;
<3> tecta, 2) if cleanup is an object method, use $this->cleanup(...)
<1> function process($var1, $var2, $farr)
<2> r00723r0: don't recommend globals, please
<1> oh
<6> is it possible to change an IP of hoster's MTA via PHP?
<4> if ($IND[1] = 1 || $IND[1] = 2 || $IND[1] = 3 || $IND[1] = 4 || $IND[1] = 5 || $IND[1] = 6



<4> || $IND[1] = 7 || $IND[1] = 8 || $IND[1] = 9){ $IND[1] = '0'.$IND[1]; }
<2> o.O
<3> Kcaj, sprintf()
<4> Ok
<3> you want to add a 0 if the number is below ten ?
<2> if (in_array($IND[1], range(1,9)) { ... }
<4> Yes
<3> e.g 00, 01, 02, ..., 10, 11, then sprintf
<2> Kcaj: ... Use sprintf
<0> wow dude
<0> you dont use =, you use ==
<0> read up on basic php syntax
<0> == is for checking comparison, in lay terms
<2> that functionb shoullldn't be used, anyways.
<0> whoa
<0> Stormchaser, hell of a typo
<2> 'kay... -lo -b
<2> Er.. -l -b
<0> lol
<1> hmm, I don't understand what I'm doing wrong, I commeted out that whole function and it gave the same error for the next function...
<0> duh
<3> tecta, what is your code now ?
<7> s/r00723r0/KeanuReeves/
<0> listen to colder
<2> function login($this->user, $this->p***) <--
<8> alrite... can someone tell me how to get the unicode hex value of a character?
<1> colder, it's the same
<0> $this->login($this->user, $this->p***)
<8> (for use in determining/matching cuyrrency symbols)
<0> you cant forget about **** like that
<8> should be utf-8 or utf-16 compatible
<8> not sure which cause I'm very new to international currency symbols
<2> dmar-_-_: Why do you need the unicode hex?
<1> function login($this->user, $this->p***) Is what I have
<3> tecta, you don't define functions like that.
<8> Stormchaser: I figured it would be a safe bet for matching the symbols
<2> tecnoba_: Better yet, it's what you *shouldn't* have
<0> lol
<2> BAh... tecta
<8> cause i may or may not be able to display them all
<0> tecta, use $this-> before login
<3> Beside, why do you want to p*** them, if its already stored in object's properties ?
<2> Stupid tabl completition
<0> table completion
<1> http://65.33.55.196/index.phps
<1> is my new code
<9> which is faster ? sql or php
<2> wha?
<2> Which is better a house or an apple?
<10> an apple!
<11> damn beat me to it
<2> function $this->login($this->user, $this->p***) <-- WTH?
<10> What did I win?
<10> Stormchaser, lol?
<3> tecta, ok, here you go: http://php.net/oop
<2> tecta: php.net/langref, PLEASE
<8> Stormchaser: i'm running into probs, cause I can't even get some of these currency symbols to appear in my php editor...
<12> nick|work: which is faster, a porche or a dump truck?
<13> ||cw, depends on high they're falling from :)
<9> yep.. i know my question seems confusing.. i'm asking is it faster if you make an operation in your sql query also could done with php?
<12> i was thinking more like depends on how much stuff I need to haul



<8> Stormchaser: this page has most of the symbols, and their unicode decimal/hex values... shouldn't I use some type of function to determine the characters unicode hex/decimal equiv. then compare?
<12> a porche won't go very fast hauling 2 tons
<13> nick|work, generally its faster to do it in SQL, because the RDBMS its optimized for that. But its less portable
<12> nick|work: depends on the operation.
<12> if you are joining data from multiple table or filtering info, sql is faster. if you are sinply formating for display, php might be faster
<2> dmar-_-_: ord() always worked for me
<9> ||cw : some arithmetic, maybe ordering by date or any of columns
<12> sorting is faster in sql
<12> math shouldn't matter
<14> hello there
<15> hi
<15> need help
<14> quick question: what function would I use when I want to find out whether $str1 is contained in $str2
<9> strpos() if contained
<14> e.g. If("this is a test" contains "test")
<9> returns which char
<9> if not return false
<14> oh right
<14> thanks
<2> SQL servers are written (or SHOULD BE) in a lower level language than scripting language, so that's generally a reason for being faster.
<9> nope
<2> !tell babusha about g1
<0> sql servers are incredibly fast
<15> g1?
<0> which is why google uses them
<14> !tell Ace_NoOne about g1
<0> !tell r00723r0 about g1
<2> !+msg the bot
<16> Unless you're a ##PHP channel operator, please speak to the bot in private.
<17> what could I use for a php vulnerability scanner???
<0> your eyes and hands
<15> on my php server , every scripts can create the db and tables but does not fill data in!!! i can't understand why...
<0> quite possibly a brain
<18> r00723r0++
<19> good answer
<0> :P
<18> r00723r0: forgot soda and chips
<17> if ya cant answer like a normal person then piss off
<2> babusha: You are missing the variable content?
<17> I didn't ask for idiocy
<0> CBTC, lol
<9> ok.. somebody advised me to use "select count(column) from table" except mysql_num_rows.. he says it's faster..
<0> im not answering idiocy
<0> im telling you, there is no such thing as a php vulnerability scanner
<18> nubsauce
<13> CBTC, the people smart enough to write said scanners (Rasmus for example) are also smart enough to not make them public
<13> r00723r0, oh yes there is
<2> CBTC: Think about it... Smat question deserves smart answer.
<15> storm?? i download ed lot of scripts and no one goes, it could not be just forgettin content
<13> well, not so much as a PHP scanner, as an XSS/SQL/HTML injection scanner
<15> my register globals in on!
<18> turn it off!
<0> CBTC, trust me, you will get a lot farther with your own brain
<15> should i create an .htaccess file?
<15> likewhoa are u saying to me to turn it off?
<13> CBTC, so essentially, you're SOL
<17> Davey|Work: and what would that be that you speak of
<2> Davey: I like the PEAR update... It usually detects couple of hundred PHP memleaks :)
<13> CBTC, the tools written by those who won't release them
<2> !+sol
<20> Hi, how can I install pear modules offline?
<9> .htaccess it is a nothing for sec.. turn your register_glovals off
<18> babusha: yes, don't use registry globals
<15> it doesn't solve , i switched it off just now
<14> stupid basic syntax question (sorry, haven't been doing PHP for a while) - is the following correct:
<14> if strpos($fullString, $searchString) != False
<2> wdamn: Just sownload them and put them into your include path
<0> NO
<0> Ace_NoOne, !== FALSE
<0> not !=
<14> oh, right
<14> thanks
<18> how would i continue an if statement once it gets to be to big.. i.e in bash it's \ for newline
<13> Ace_NoOne, and you're missing outer parens


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#php
#gentoo
#math
php request_addr
#gentoo
#perl
python urllib2 httplib set_debuglevel
mplayer error while loading shared libraries libdirectfb gentoo
dapper HP DL140
jakeconner php



Home  |  disclaimer  |  contact  |  submit quotes