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



Comments:

<0> fgetcsv
<1> lol
<2> correct to say that you cant have 2 methods in a cl*** spelt the same, but with different case?
<3> I sure hope not.
<3> sketch|work, I suggest you try it though.
<2> cl*** Login { function Login() { // constructor} public function login() { // just a method } } .... cannot redeclare Login::login
<3> Sounds like you can't.
<0> even if you could, you shouldn't
<2> which is counter intuative, being that PHP should be case sensitive
<3> It is in var names.
<4> -_- no csv importer examples
<2> ah, so func names always effectively compare against strtolower(funcname()) >
<2> ?
<3> sketch|work, seems that way.
<2> too easy, cheers
<3> Yup, seeya



<1> php is case insensitive with method's and functions
<1> so why would it matter if you did login or Login anyways :P
<1> it'd be more like method overloading, but thats not supported
<4> dam.
<5> quick question, on method_exists() it takes an object -- but is there a way to check if a STATIC method on an object exists ?
<4> Failed: INSERT INTO test ) VALUES) - Reason: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') VALUES)' at line 3
<6> ken: have you tried p***ing cl***::method ?
<4> o_O?
<5> zbq: into function_exists? no
<5> zbq: but that seems almost silly enough to work
<7> what would make a page produce no output... but no errors.... the page has a bunch of html.. then php, but nothing gets output at all.. not even the html leading up to the php....
<5> zbq: nope, just checked, most certainly does not
<2> ken___: also try is_callable
<2> perhaps is_callable("cl***::method"
<2> The callable_name argument receives the "callable name". In the example below it's "someCl***:someMethod". Note, however, that despite the implication that someCl***::SomeMethod() is a callable static method, this is not the case
<5> yeah, that works
<6> ken: this returns true: echo method_exists(new config, 'singleton');
<6> config is a cl*** and singleton is a static function
<5> zbq: on a static method ?
<5> hmm
<5> intereste
<5> interesting
<6> public static function singleton()
<8> why can I not just unset a node ? unset($xml->continent); $xml->continent=$row1['kontinent'];
<8> If I unset it, then the value which iss added afterwards does not find its way into the node
<5> thanks for that guys
<6> sure
<9> When creating a cookie... is it a good idea to include the domain aswell?
<1> depends
<7> why, on this one server... do i get NO output if there is a PHP error... just gives me a blank page....
<7> its like im running a perl script or something
<10> I don't know the proper terminology, but I'm pretty sure it has something to do with the error handling settings in php.ini
<10> Try http://us2.php.net/error_reporting
<7> well even if i turn it to error_reporting(STRICT)
<7> doesnt output anything...
<11> Hey guys
<10> Are you sure it should be?
<11> I'm a little new to the regular expresion thing
<11> I basically want to remove all instances of '#RANDOMNESSHERE#'
<10> error_reporting(E_ALL);
<11> I know to use preg_replace, however I don't know the regex patern on what to match it with
<11> someone wanna give me a hand ? :)
<4> anyone alive
<2> no, im dead
<4> kk
<10> Shorty-: I'm probably the last person to ask for help with this sort of thing, but I think it should be something like preg_replace("/#(*)#/", "", ") ....
<2> preg_replace("/#(.*)#/", "", .....
<2> .* is 0 or more of anything
<2> .. that is not a new line (i think
<2> . --> match any character except newline (by default)
<2> *0 or more quantifier
<10> :) Like I said, probably the last person to ask, but I wasn't too far off :)
<2> Drew: i dont know if the rest is right, i just know that its (.*) not (*) :P
<10> :|
<10> Shoot my dreams and aspirations right down. Not like my feelings matter. :( lol
<12> Does anyone know of sotware for XML databases?
<4> FFS
<12> FFS?
<2> thats right, FFS! .
<12> what does it stand for? google doesn't return any results



<10> it stands for FFFS
<12> ah FFFS not FFS
<10> as in FFS what kind of question is that... or FFS did you see that nubcake fall on his face?
<10> or FFS XML is crap.
<10> IMHO
<2> STFU
<12> now you're just acting immature
<13> I'm getting a compulsion to say n00b sometime around here
<13> but I won't
<10> You just did :)
<10> sketch|work: <3
<12> to who?
<14> Hi - what's the function to display the debug info? I used to know, but it's driving me nuts. Can't find it on the PHP site yet. THanks
<4> i cannot believe. that such a simple script hasn't been made yet..
<10> Loren: How long did you google before you joined here?
<12> stodge: error_reporting(E_ALL); it reports errors if that's what you're looking for
<12> 10 minuets
<12> why are you being a jerk?
<15> you mean phpinfo() ?
<14> I actually need to find out the PHP version
<14> phpinfo! Yes!
<15> :)
<14> THanks :)
<10> I'm not, don't automatically ***ume things.
<15> *tips hat*
<16> !+gv
<17> Global Variables - this will show you everything that php sees: <pre><?php print_r($GLOBALS); ?><hr size=5 noshade><?php var_dump($GLOBALS); ?></pre>
<14> I think my version of PHP doesn't like my Clone() function
<12> then you wouldn't automatically ***ume that I've been a programmer for 7 years would you?
<12> Anyways, no point in arguing, back to google
<14> parse error, unexpected T_CLONE, expecting T_STRING
<14> PHP Version 5.0.4
<4> stands for "for f*** sake"
<10> It's not how long you've been programming. It's how WELL you've been programming. :)
<16> !+xml
<17> [XML] eXtensible Markup Language - jymmm believes it to be the spawn of satan and pure evil, but a lil tutorial and introduction is available at http://www.tizag.com/xmlTutorial/
<12> Drew: quite a bit actually (professionally), but like I said, no sense in arguing - back to google
<18> does anyone here use PEAR MDB? I can't get more than one row with fetchRow() -- ??
<14> Damn Clone is reserved in PHP5
<10> Loren: http://www.xmlsoftware.com/database.html
<10> :)
<12> Drew: thanks drew =D
<12> ^-^
<10> np
<10> MrPrimate: That function is intended only to retrieve the first row.
<18> Drew, not according to the manual
<16> Well they invented bioWeapons, why not a xml db
<18> Drew, the manual shows while ($row = $db->fetchRow($result)) {
<10> No it doesn't.
<10> It shows FetchInto
<10> fetchInto*
<18> no, it DOES
<18> http://pear.activeventure.com/package/package.database.mdb.intro-fetch.html
<10> http://pear.activeventure.com/package/package.database.mdb.intro-fetch.html
<10> read it again.
<18> while ($row = $db->fetchRow($res)) {
<18> that exact line is in the damn manual
<10> while ($row = $db->fetchInto($res)) {
<10> $id = $row[0];
<10> }
<18> I am looking at it right now
<18> you're looking at a diff. part of the manul
<10> as am I
<18> well do a find
<18> because you're blind
<19> +2 for rhyming insults
<18> Example 26-5. Once per instance
<18> bewest, :)
<16> Kids, kids, kids... if you cant play nice with each other you'll have to stand on the corner
<16> in
<18> Jymmm, it's fine, we're done, he sees that it is in the manual and doesn't have much to say now :]
<10> True.
<16> **** it. stand ON the corned and let some pervert snatch you up
<10> But then again I'm not the one with the errors.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#postfix
#lisp
perl+scalar keys
#oe
backtrack*zydas
sendmail howto for gentoo
uninstall ie4linux
#perl
no_timer_check intel
#php



Home  |  disclaimer  |  contact  |  submit quotes