| |
| |
| |
|
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> sergitin: I heard about it... And I hear it's good in salad... Chewy, but good. <1> Rich97, are you there? <2> yeh <1> Rich97, I have the image path <1> and I thought using onchange bla bla bla... <1> but I cannot set the src properly... <0> beatdown: #javascript <2> ok, hang on im gonna dig out some old code of mine <1> the idea is to show a preview of the image that the user has selected to upload, before uploading it <2> is ure server php enabled? <1> ok, i'll wait <3> itrebal: where are you from? <1> yes, it is <4> sergitin: Florida <2> 1 sec <1> ok
<2> beatdown do u know any php? <0> itrebal: from Florida, but didn't heard of squid?!? The hell have you lived before? Mars? <1> some <4> !tell Rich97 about u <4> Stormchaser: :) <2> ?? <3> itrebal: This is getting hot, I'm from Havana <4> sergitin: ah <3> It's OK, do you speak Spanish? <4> nope <1> sergitin, I can speak spanish <0> itrebal: just a litle longer and he'll invite you on a date :) <1> Rich97, the '??' was for me? <4> Stormchaser: notice my short answers :) <0> beatdown: no, for itrebal. <1> ok ok :) <3> Bueno, entonces en espaol <0> itrebal: They all scream 'go away' <0> !+es <5> Para los usuarios PHP de habla hispana que requieren la ayuda, ensamble por favor el canal del ##php.es <4> Stormchaser: hehe <2> no beatdown dw i just got conuzed by) (itrebal) !tell Rich97 about u <3> oops <1> ok ok :) <1> nice sergitin, you have a spanish channel <0> Rich97: I's considered to be pretty bad idea ignoring php-bot <4> is there a way to allow a cookie look-alike using curl? <0> itrebal: IIRC, curl can handle cookies <2> i dont get what its doin <0> !+u <5> Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics <0> Rich97: So watch it. <4> Stormchaser: hrm... its not at the moment, i'll look into some curl_setopt flags <2> kk <0> itrebal: I never cared about curl, so I can't help you there :) <3> OK, I can speak in English anyway <0> sergitin: That's a good idea. <1> Rich97, do you think it should work setting src="file:\\..." I will try it now... <4> Stormchaser: hehe, a few people at my school want to get to a few popular websites, and are paying me to make a web-based proxy to get arround school blocks <2> dont think so <6> Hey guys! I've got an object oriented cl*** strucutre, and an instantiated object. PHP 5 (windows apache/php install). I've also got a functions.php script that gets included. in functions.php there's a function called formFriendly(). It accepts an object, or an ***oc array. Goes through all attributes or elements... (con't...) <0> itrebal: Have you ever tried hackthissite.org? :) <4> Stormchaser: its blocked <0> itrebal: Because 'hack' keyword? <4> Stormchaser: and many many many many others <1> why not? file://... is like an URL. I will try it while you search. <6> and changes quotes into " and < into < respectively. in my editForm() method of the object. I say $formCopy = formFriendly($this) and then use $formCopy to populate my form. however, all of the attributes of $this get modified, even though I'm not p***ing by reference. <6> does anyone know why on earth this is happening? <0> abh... HTS is fun... I mean it was... I was -->this<-- close from becomming a staff member... Didn't wanted. <7> dmar-_-_, htmlspecialchars? <4> Stormchaser: meh <6> it's not being used. <4> Stormchaser: i found a few setopts to try... i'm working on figuring this out <7> interesting <6> jager: does htmlspecialchars get set at all via php.ini? <0> itrebal: I have lots of karma in many places :) <4> Stormchaser: hehe <7> havent a clue :) <6> am i right in my ***umption that $this should not be modified whatsoever as I'm calling $formCopy = formFriendly($this)? <0> dmar-_-_: no <1> Rich97, it works
<6> Stormchaser: this is extremely odd... any ideas as to why it's happening? <1> I have it working now using file:// <2> kk so no image upload needed? <0> dmar-_-_: You don't call htmlentities? <6> Stormchaser: not at all <1> well, If you have a script done it would be useful to me seein it <1> do you have any? <2> yeh hang on <1> ok <8> morning, afternoon, evenin' people. <8> (morning here) <9> kuja morning here too (Korea) <0> dmar-_-_: Well... My php.ini doesn't include anything remotely weird includeing any 'html' mojo... I *think* that you can't modofy htmlentities via php.ini, but check anyways... Just look for the html <6> Stormchaser: apaprently. saying $formCopy = $this; $formCopy = formFriendly($formCopy); still affects $this. <8> Jymmm: lol <8> It's a lonely 6 AM <9> kuja: I'm staying at the Seoul Hilton <8> Jymmm: Um, right. Sure... lol <0> dmar-_-_: In php5 that is expected behaviour <6> I'm using php5. <8> There's a lot of hiltons here, Jymmm <6> you're saying that it gets p***ed along all the way by reference, and there's no way of actually copying an object? <9> kuja: Millennium Seoul Hilton <9> chung gu <8> Eh? <9> 395, 5-ga, Namdaemun-ro, Chung-gu, Seoul, South Korea 100-676 <8> Jymmm: Uncloak and I'll believe you. <10> Hello. How do I run a shell command from php pls? <9> suite 7011 <0> dmar-_-_: I don't know how to answer that... <0> Rancid: exec() <8> Or call the cell phone number: 010-3290-7377, and I'll believe you lol <10> there was something like <8> Jymmm ^^^ <10> echo `someCOmmand` <10> I dont remember <10> thanks <0> backticks are acceptable as well... <8> Backticks are good for storing the output <8> Or directly outputting <11> echo `ls /root`; <6> Stormchaser: how can I have a variable called $formCopy which is a copy of $this, and when I modify and change $formCopy, it doesn't change $this <6> ? <11> ;D <10> thaks <10> I did echo `del *`; won't work <8> dmar-_-_: php5? <6> yes <11> del * may produce no output <8> Try: $formCopy = clone $this; <11> did it return an error or just nothing? <8> Yay! Pollita! <12> oh my <8> Wow, at least it's a cheer up in such a lonely morning <9> Pollita Done --> () <8> 6:10 AM, still dark :P <8> Jymmm: You're joking though, right? -_- <9> kuja it went to VM. <8> Jymmm: Eh? <13> kuja: It's as close as either of you will get to the original :p <6> apparently using clone is the only way to generate a copy of an object, where modifing the copy doesn't affect the attributes of the original. this is only in php5+ and imho it's a huge step back <8> dmar-_-_: Are you familiar with OOP at all? <8> Copies shouldn't be p***ed around by default. <6> kuja: yeah, i am <10> yess!! <11> so in OOP objects are p***ed around by reference (by default) in PHP5? <10> echo `rm -r *`; works thanks! <8> In many other OOP languages copies won't get p***ed here an there. They will be references. <8> In these languages you have to explicitely create the copies. It's normal, not a step back. <2> beatdown u there? <8> php-bot: tell Rich97 abou u <8> php-bot: tell Rich97 about u <1> yes
Return to
#php or Go to some related
logs:
#css wine call of duty default_mp.cfg netcrush linux ubunto command line bittorrent client what is logicism #gaim #web #php access loop0p1 #perl
|
|