| |
| |
| |
|
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> I have this code: <0> $table .=<<<TAB <0> <INPUT type="submit" name="Invia" value="Modifica articolo!"></td> <0> </tr></FORM> <0> </table> <0> TAB; <1> jdaiker: you want to use a node tree probably <1> jdaiker: or some kinda linked list not an array of objects <1> someone kick pennywise <2> nebmo88: text is a reseved word, so it's a REALLY bad fieldname. You'll have to put it like 'text' every time you use it if you want to keep using it. <3> nebmo88: try to send double quotes to mysql instead of single quotes <1> nebmo88: dont ever use barewords <4> ok <5> winmutt: $ary['key'] = new ImageCl***es(arg1, arg2, arg3, $ary['$key-1']-method() ); <1> jdaiker: uhm... go read up on nodal trees or linked lists on wikipedia <5> that's ultimately what I need.. the current key cl*** needs to call a function from the previously defined cl***
<1> jdaiker: thats pretty aweful looking but it will work <5> winmutt: ah, it does work.. just have to "prime the pump" by declaring the first cl*** by itself (without a reference to a previous cl***) <5> I was trying to get $ary[-1] and that's where my problem was <5> thanks for the help everybody <4> nimf: if i send double quotes would it not close the sql statment ? <4> $sql = "UPDATE and at the end "; <1> jdaiker: what you should really do is p*** a reference to the previous object to the new constructor <1> jdaiker: that would be much cleaner and more oo like <6> TML, caffinated <6> if you are teaching someone for the first about HTML and its stateless nature, what is a good way to really make your pupil understand how the internet being stateless relates to the client server model <5> winmutt: how would I go about that (I know OO and references, but not in PHP) <1> there is no such thing as the internet <1> only clouds <6> winmutt, Al Gore would disagree :) <5> it's the interweb :) <6> internet, its a connection of networks you dolt :P <1> jfarrell : he would agree. since he created the information super highway... not the internet <6> winmutt, i am well aware of what he created and what he didnt - it was an attempt at humor <6> which obviously failed :) <1> jdaiker: $lastobj=new Obj(); $nextObj=new Obj($lastobj); <7> not much of an attempt either. <1> jfarrell: mine was funnier, dont quit your day job <6> HA <1> you dont have a brother named will do you??? because he obviously got the family funny bone <8> does anybody know if there is a post-order traversal for elements in a DOMDocument? <1> post order? <8> Aye <1> as in reverse? <6> winmutt, that was terrible <6> :P <1> jfarrell: which is why i am a coder not a comedian <8> As in most deeply burried first, then the root last <1> as long as i can make my wife laff thats all that matters <9> I need to put an inventory of phyically servers online, anything premade that I can use, trying to save some time. <6> indeed <1> ljbuesch: parentNode ? <9> physical* <1> mikefoo: i use lshw for ***et mgmt of about 3000 *nix boxes <1> if youa re looking for an web app go look on sourceforge or #linuxhelp <9> linuxhelp? <8> winmutt: what do you mean by parent node? Here is what I'm talking about: http://en.wikipedia.org/wiki/Tree_search_algorithm#Traversal_methods <10> hmm any way to split by capital letters in a string? <4> richardlynch: i changed 'text' to txt and it still didnt work :( <1> ljbuesch: if you have a child node u should be albe to reference the parentNode until parentNode==self or null i cant remember.. also they may refer to it as just parent... i dont have a browser i can look it up with right now <11> Hey guys -- what is the most common and/or proper way to implement some sort of form time limit? (EG: You submit a form, you can't submit the same form twice, or in a certain period of time or something) -- the form will enter data into a database and interface with the PayFlow API <2> nebmo88: echo out your query before you send it to the db -- See what's what in there. Maybe you didn't use http://php.net/mysql_real_escape_string <2> ***yKen: That's open to debate, but if you give each form a unique token http://php.net/uniqid and log it in the db and then only accept it once, you should be okay. You can clean out old tokens as often as you need to keep table size reasonable. <8> winmutt: Well, currently DOMDocuemnt has getElementsByTagName([string]), which would work wonderfully.... except it's pre-order traversal, not post order. I could not find a way to build a nodeList either which is what that function returns, so I was going to make a custom function which returns an array of DOMElements <4> ok cheers <11> I see richard -- would you imagine that's how most people do it? <1> ljbuesch: u want an nodeList of parent object going all the way to the root ? <10> any way to check if letter is capital or lowercase? <12> hey Harry_Slaughter <13> Narada, ya regex <14> does mysql's timestamp have the same format as php these days? <12> Narada: ctype_upper <14> well, unit timestamp i suppose <14> unix* <10> awormus: oooh i'd totally forgotten thanks <15> anyone know how to get what content-type is requested? <10> Jy: if there was no ctype_*() perhaps :)
<1> tobbenix: wget <12> mikedub: timestamp format changed with 4.1 <12> mikedub: very annoying <15> So If a dude browse my non-wap 1.0 compatible page, I would be able to make a custom error/help-page? <8> winmutt: here is a txt explaining what I am talking about: http://web.ics.purdue.edu/~ljbuesch/example.txt <16> hi i want to auto append querystring with URLs in my HTML/PHP page. how can do so? <14> awormus: changed to the unix format? <12> mikedub: no <12> mikedub: I would do all my date formatting in SQL, so that MySQL delivers the date in the format you need. This is the safest way <16> hi i want to auto append querystring with URLs in my HTML/PHP page. how can do so? <17> hola awormus <14> awormus: you mean, have php format the timestamp and put it into, say, a varchar, for example? <1> ljbuesch: i have no cut and paste technology or anmy decent browsers sry <12> mikedub: noooooooo <6> hey i have a question for anyone in here who does any tutoring or educating <12> mikedub: SELECT id, title, body, DATE_FORMAT(...) as time FROM articles; <6> in your role, how do you communuicate the stateless nature of the internet and its role in Server Side programming? <1> jfarrell: its like making a phone call but hanging up and redialing everytime you say something and the other person responds? <12> mikedub: INSERT INTO articles SET title="foo", body="bar", timestamp=FROM_UNIXTIME($timestamp); <14> ah <14> well i suppose that makes more sense <6> winmutt, hmm that is a good analogy <6> i like that <12> so you validate on both ends <18> does anyone have a good website for php coding standards? <1> riftdesign: php.net ? <12> rather than expecting that mysql will just accept your timestamp <8> winmutt: No problem, I think I just solved it... I did the writing-my-own-method which recursively dug into the childNode's. I really appreciate your help though. <1> jfarrell: i told u i was a better coder than comedian <6> winmutt, the one i used, and seem to confuse her was => running back and forth between two points, but not remember what was happening at the other <1> jfarrell: maybe you should try the comedian shtick <1> lol <6> winmutt, well i had the dubious experience of agreeing to each a young girl PGP <6> *PHP <6> well as I was explaining POST and GET and their roles in the Client Server Model <1> jfarrell: that doesnt even make any sense to me <6> I came to find she has never done any html coding <1> jfarrell: does she give good head? <1> lol <6> winmutt, i wouldnt know <19> there are probably hundreds of photo gallery applications out there, any quick suggestions? i need one that i can hack into my cms fairly easily and also customise the presentation <1> jfarrell: the phone analogy will work real good for a woman :) <14> awormus: thanks <6> winmutt, yes i am sure it will <6> thanks for the idea <6> ill be sure to take all the credit for it :) <1> jfarrell: however you might want to try the old highway car analogy <1> jfarrell: because it sounds like she needs to understand basic netowrking first <6> winmutt, i think we get by this hurdle it should be easier for her <1> jfarrell: stoplights being routers... bgp being mapquest directions etc etc <6> as for that, their are cl***es at the college <6> and i am not being paid for this <1> back to the getting head thing lol <6> lol <1> christ what am i saying <1> im about to be a father <6> i know <6> winmutt, you can look, just cant touch <1> must learn some decoroum of mediocrity <6> and they cant stop you from thinking if they dont know what you are thinkng <1> jfarrell: going to hell by way of jail <6> lol <1> i really wish i had a browser <1> this ****ls <6> wahoo for study abroad <6> winmutt, using irsii? <1> ircii? <1> oh <6> the one irc command line client <6> i cant remember the name <1> i had to uninstall xorgx11 to upgrade gentoo for some reason <1> i always use irc in cli
Return to
#php or Go to some related
logs:
#linux katapult ubuntu process annabel freeman audio: /dev/dsp: Device or resource busy gentoo alsa #gaim ubuntu you need to be superuser lokkit #fedora k3b unable to fixate disk #osdev #lisp
|
|