| |
| |
| |
|
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> but i dont want = ? does = make even sense? <1> where column=xxx <0> but i want in the last 24 hours, thats a > no ? <1> hmm <1> :D <1> i think so <1> mysql.com <1> or #mysql <2> !+enter <2> um <3> is there like a reverse function for imagecolorsforindex() ? i need to p*** in rgb and get the index, but i dont want to p*** in a resource image like i have to with imagecolorat() <4> php-bot: botsnack <5> how can one have site specific setting for php in case of shared hosting.I have a site running on shared host and i need to turn off php safe mode for one site, how can i do it? <4> its workin Storm <2> !+botsnack
<6> :), Stormchaser <2> funny... Someone removed the 'enter' factoid. <0> Stormchaser: can you lookup my problem ? <2> IceBreak: I have no idea, what your problem is. <0> i wrote it a few lines ago, but sec, some1 is helping me already <7> http://c3x.net/projects/dotFramework/framework.Parser.php <-- on this database abstraction layer interface (the cl*** starting about halfway down) can anyone see any methods that the API should have that arent therE? <8> can i have 2 constructors ? <2> no <7> Is it planned to have different function calls for different parameters in PHP, or is that something that could only be implemented with strict type checking? <2> Xen0n: nope. <9> Uhm you could have a constructor with two objects <9> or functions <2> since when does function gave a constructor? <9> what? <2> Erm... Never minmd :/ <7> :P <9> You say you can't define a function inside a constructor? <2> danf_1979: Sure you can, but it's incredibly dumb to do that. <9> Yes, I can't think of a case where it should be necesarry <9> But I didn't need it <2> :) <0> Stormchaser: this is the problem <0> when i run in db_dataobjects <0> $users->query("SELECT * FROM `sched_users` WHERE `lastmove` > FROM_UNIXTIME( 1144999054 )"); <0> i keep getting in find() all the entery <0> and when i do it in pma, i get the correct answer <0> why is that? <10> how do i use php to connect to mysql from dream weaver???? <0> Stormchaser: got any clue why? <4> since function arguments are dynamic in php, there really is no point in having 'overloaded' functions (or methods, or constructors). By design, each function you write is 'dynamic' in that it can accept any number of parameters. <2> IceBreak: Wrong DB? <0> nop <0> it returns me the number of elements in the correct the table <0> instead of a partial number with only the ppl in last 24 hour <2> !+enter <2> the hell...? <2> TML: *poke* <2> IceBreak: Don't abuse the enter, please. <0> ok, i'll try :) <9> fyrestrtr, what? php does suppport variable numbers of parameters? I thought it didn't, at least las time I checked. <4> danf_1979: for use defined functions it does, not for built-ins <9> How? <4> danf_1979: php.net/func-get-args php.net/func-num-args <4> from The Fine Manual : "func_get_args() may be used in conjunction with func_num_args() and func_get_arg() to allow user-defined functions to accept variable-length argument lists." <2> !+func func_get_args <11> array func_get_args() Get an array of the arguments that were p***ed to the function <6> Unable to find PHP4 proto for func_get_args <4> hrmm, stormbot's broke <2> no, php-bot is broke. <4> well one of them is <2> yep. <2> I already PM'd TML... He'll sort things out... <9> Uhm, it's not like pythons implementation, but it seems to work, just not that flexible <2> what is? <9> variables args <2> *shrug* <12> I don't see how it could be more flexible, but okay <13> !test <9> python.org <9> see there the manual
<13> Weird... But okay. <12> Why? <4> danf_1979: well good thing php != python then :) <13> s/good/bad >:) <9> Yes ofcourse, python is better :) <14> i made a bot in python once, it kicked the user that opped it <13> sounds like a dumb*** bot. <14> it was totally pointless <13> That's the point. <14> It was fun to make though <14> http://stormch[a]ser.youarelame.com/ <13> Well... Stormbot is written in Python. And connected to sqlite DB. <15> Hey homies <16> would $_GET->id work? <17> who you calling a homo, fag ? <17> ... :p <18> Hit3k: No, $var->member syntax only works on objects. You would need to use $_GET['id'] as $_GET is an ***ociative array <9> Hit3k, what is your idea? <15> #offtopic <15> woops <16> danf_1979 I just wanted to see if i could use that. <15> Ah it doesn't exist, ok. <19> hi guyz... how to remove a matching character in a line it reads from a file?! <16> so one more question in theory $row->id would work? if i was selecting from a DB on a completely diffrent thing <20> afternoon peeps. need a little help with an url rewrite... i need to match an alphanumeric get string that may and maynot have spaces in (%20) <18> Hit3k: I imagine that it would vary on what you used to select from the DB. MySQL uses an ***ociative array <20> this is the rewrite last parapmeter wont work if is has a space. <20> RewriteRule ^items/page_([0-9]+)/([a-z]*)/([a-z]*)/([a-z0-9\s]*)(/)?$ itam.php?page=$1&quality=$2&type=$3&search=$4 <9> Hit3k, you need to read on ***ociative arrays <16> TheRandomAvenger I'm just swapping $row['id'] around with that <16> will do danf_1979 <9> $row = array("field1"=>"value1", "key2"=>"value2"); <9> you could do <19> hi again... how to remove a character "double quote" in a line? <21> Caseus: You're in the wrong channel. <9> print $row["field1"]; <9> and get value1 <19> $key = "\""; is this fine? <20> hehe i know it's not a specific php prob... but figured there must be someone in here that knows reg expressions ? :< <20> is the a regexp chan ? <22> I'm using a database wrapper cl***. It seems like most of the other cl***es I'm using need access to it, so I end up p***ing it around a lot through the other cl*** constructors. Would it make more sense to just declare $db as global? <21> Caseus: This is not a mod_rewrite support channel. <18> Caseus: URLs are encoded before they are p***ed to the server <21> php-bot: tell Caseus about g8 <20> ino... i tried to match %20 in the regexp too with no success. <21> Caseus: Perhaps the channel you're looking for is #apache, not #php <18> Caseus: Instead of [a-z0-9\s] use [a-z0-9%] <20> aha good thinking batman :D i ask in there :) <20> same prob TheRandomAvenger <20> confusing me... cuz it should work. <20> thanks for trying tho... i go bother apache ppl and hope for some activity :) <18> Try enabling the rewrite log <18> That helped me when I was doing mod_rewrite <20> hmmm how to do that and where is it written ? <23> httpd.conf i'd say :) <20> yep but i dont have access to that on my host... :( is there a way to enable it in htaccess ? there normally is... <18> Feldon: No, it's fine to p*** objects, they are always p***ed by reference. Although you can use global if it is easier on you. Both methods get the job one and both have their shortcomings. <24> hi guys.. I have installed a program on Godaddy.com <21> Are we still talking about Apache **** in #php? <9> kuja, are you talking about something actually? <25> anybody knows a regex to just replace <a href="replace_my_quotsTo".php">link "not replace"</a> <24> which breaks my application for the floowing line <26> hi guyz... just want to ask.. how to detect the second string from a line delimited by tab? <24> isset($_SERVER['PATH_INFO']) ? explode('/', $_SERVER['PATH_INFO']) : NULL; <24> '/' is considered as directory <24> can I get around it <21> danf_1979: Mhmm, talking about not talking about Apache in #php when a perfectly ready channel (#apache) exists. <22> TheRandomAvenger: yah, I'm sort of loathe to use globals, there's just a lot of p***ing of the db object going on in my current project, hehe <9> Ok, but you seem to always jump out "protecting" the channel business or things <9> just chill out <9> let the guy talk <20> kuja i've asked in there... and getting no response yet... and i've already said 'thanks for the help, goodbye' dont give yourself a hernia. <21> danf_1979: No. <27> danf_1979: please don't tell us how to help moderate this channel
Return to
#php or Go to some related
logs:
llyric mp3 gentoo startx unknown host #perl #web ndisgtk xferreport IO Multiplexing cubepanel postfix php Cannot use string offset as an array in fopen tdlp dhcp server
|
|