@# 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 33 34 35



Comments:

<0> is there any disadvantage to turning on support for short-tags (<? vs <?php)?
<1> AaronCampbell
<2> Aaron: Only if you output a lot of XML
<1> <? will be evaled in eval
<3> this is my fav --> ("@_" =~ m@(?:^|\n)\s*\b$pat\b\s+(?:[^\n]*?)\s*([^\n\s]+?)\s*(?:#[^\n]*?)?\s*(?=\n)@ig);
<1> where as <?php will not
<4> ..i've even set error_reporting(E_ALL); to E_ALL ...
<1> Pollita, am i wrong?
<1> =(
<2> Davey: CALGON! TAKE ME AWAY!
<1> and adding /s didn't work
<2> Anomaly: Then there's something *else* wrong with your pattern.
<0> and even if I do a lot of xml, I'll just have to do something like <?php echo '<'.'?'; ?> right?
<2> Anomaly: But I've done as much guessing as I can without seeing at least a sample
<2> Aaron: You don't actually have to separate the token, but yes. <?php echo '<?'; ?> will work



<0> ok
<2> For that matter: <?='<?'?> will, but that's bad for other reasons
<1> http://pastebin.com/593178
<1> Pollita, thats a sample of what it should be matching
<1> but it says Login not User
<3> oh yes, trying to parse markups with regexps.. what fun.
<5> hey
<5> anyone home?
<6> lali_: no.
<5> lol
<5> i have a question dealing with php5 and mysql
<5> was wondering if you could answer it :P
<6> no, we can't do that either.
<5> hehe
<5> well can you atleast try ?
<6> I don't know, can you?
<6> (ask the question that is)
<5> ok basically, im trying to p*** a variable
<5> to a function
<7> **** man, still having the same prob
<5> and in the function
<3> ya?
<5> im trying to echo mysql_affected_rows($param) . "rows added";
<7> is there something so youcan know what function called this function?????
<5> but it won't echo anything out :(
<5> should i p*** by reference? because i'v tried that and that doens't work either
<5> or is it because the scope is so limited that it doesn't recognize my link?
<6> lali_: what is in $param?
<5> $param would be $result
<6> lali_: I'd start with dumping it's contents to see if it is what you expect it to be.
<7> is there something so youcan know what function called this function?????
<5> thru echoes ?
<6> lali_: use var_dump()
<5> what should be in var dump ?
<5> as in what variable do i p***?
<6> $param, so you can check what is being p***ed in
<5> ok sec
<8> hmm.
<7> is there something so youcan know what function called this function?????
<6> Aap: debug_backtrace()
<8> i just made a php file which i included in an another. the included file just has a function in it. I call the function, but nothing happens
<9> Hi, is there a bettter way of parsing an XML file then the standard, xml_parser?
<5> whyz u can't call it the function you would have to call it the_function
<5> no spaces... in function name
<6> whyz: then the function you're calling returns no output, or display_errors is off.
<6> !tell lali_ about u
<3> I'm using this line... with "12345" instead of MCRYPT_RAND ... $iv = mcrypt_create_iv ( mcrypt_enc_get_iv_size($this->td), 12345 ); ... but I"m still getting different encryption of the same plaintext string.... any ideas?
<10> ciao
<7> thx
<8> lali_, haha, i didn't mean that the NAME was the function..
<5> oh ok lol
<8> caffinated, that's weird.. i did a little test and added a call to the function in the included file, and that worked fine.
<6> a call to what?
<6> i mean
<6> if you're calling it, and it's outputting nothing, either it's erroring, or you're not echoing the output you need to the browser.
<8> caffinated, it's not supposed to output anything to the browser..
<11> hi
<8> it just does a fsockopen
<6> whyz: fair enough. "nothing happens" usually means you were expecting some kind of output, but none came back.
<8> :)
<11> if(-10 > 1) or if(1 > -10) both byp***ing?



<8> it didn't happen on the remote side, that's what i meant. must be something wrong with my include attempt
<5> hey caffinated it says bool(true)
<5> it echoes it out, im not sure what that means
<6> lali_: that means you're p***ing the wrong thing
<6> lali_: you should be p***ing what is given by mysql_connect
<5> mysql_affected_rows($param) ?
<6> lali_: $param needs to be a mysql link identifier. that is generated by mysql_connect or mysql_pconnect
<12> how can I reduce all mutliple occurences of spaces eg " " all into just 1 space?
<5> now it says bool(false)
<13> burda cok bilmis varmis infralite diyor:)
<6> lali_: read what i'm saying
<11> if($cash > 1) and $cash = 0.00000
<5> why does it need to be a link indetifier ?
<11> ?
<5> when i already have a function that does mysql_connect, a seperate function that is
<3> damn, still can't get the f'n cypher to use the same seed/salt
<6> lali_: why is the sky blue? why does gravity work? why do cows moo?
<5> so basically what your telling me is that i need to reissue the link inside the function
<6> lali_: have a good look at http://php.net/mysql_affected_rows
<5> because of function scope? correct?
<6> no, i'm saying you need to p*** in the mysql link identifier.
<5> ok lemme try that
<14> heh, big split
<3> tml ?
<15> yea, you know... TML
<16> they want some kind of CMS with text boxes to add articles but they refuse to know html and arent paying enough for a nice visual console so i have to make some kind of bizarre markup language for them to add links and stuff
<3> ah
<3> no
<17> <sarcasm> shut the **** up absentia </sarcasm>
<3> eh?
<16> like cos they dont know how to do an image as <img src="image.jpg"> i made it so its {image.jpg} and so on
<3> template ..
<3> ok
<16> its an entirely pointless waste of time but meh
<15> Squalleh: i have a solution for ya
<16> mmm?
<15> do the text boxes, dont make a markup language, and tell them you did
<18> how do I just get the height from getimagesize()
<18> do I need to use a list?
<6> Larry: yes.
<19> Squalleh: You mean they ignored the "You can learn HTML, and save $x dollars, or you can pay me to make something up, and you'll have to learn just as much" argument?
<16> yeah pretty much
<19> Brilliant!
<3> ah, you had a silent H
<16> exept all they want is links and images :P
<16> and im getting paid for sitting around writing string replace functions
<20> hmm
<3> when you said tml.. you meant html and when you said TML you meant HTML
<16> TML as in some random text markup language that im making up as I go along as opposed to HTML which..already exits
<16> lets call it idiotTML
<16> or iTML for short
<19> It's SquallehTML
<16> then it works for apple users too
<16> lol i made sTML, its the shizzle :P
<15> TML's gunna get back adn think 'wtf..?'
<16> awesome :P
<21> Squalleh: ...
<6> Squalleh: to avoid confusion, I think it would just be best to find something else to joke about.
<16> sTML used php to write javascript functions for rollovers and stuff, was kinda cool...dunno what happened to it though
<16> ok
<16> so i heard caffinated likes goats
<6> Squalleh: don't push it.
<15> The Goat, if thats what you mean
<16> sure, why not
<6> Squalleh: it would be just as easy for me to remove you.
<16> you kicked me from here once before when i said hi kids
<6> Squalleh: if you'd like a repeat of history, keep it up.
<16> sure, ive asked my question
<16> knock yourself out
<16> night guys
<15> what a dumb ****


Name:

Comments:

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






Return to #php
or
Go to some related logs:

rheam hot water heater
#centos
#perl
gaim u key
could not create dbus message SuSE
#linux
bcm43xx-fxcutter
jedit ubunto
#dns
GConf default audio sink key rhythmbox gentoo



Home  |  disclaimer  |  contact  |  submit quotes