| |
| |
| |
|
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
Comments:
<0> to communicate between 2 scripts? <0> Ox41464b: that link is not so good <1> kuja: thanks a ton for your help. works perfectly!! <0> because it points to some page with errors <2> nab: np <0> however, i have already found the original "Unix Socket FAQ"' <3> Script1 read to ServerA, and also Listening for Script2 request <0> Ox41464b: go on <3> what? <3> you ask about the communicate between 2 script <0> yes <3> ServerA <-> ServerB.Script1 [do-nothing] | ServerB.Script2[request.Stream] -> ServerB.Script1 [change "do-nothing" to send.Stream] | "client" <-> ServerB.Script2 <3> there you go <0> :) <0> i don't understand this one <3> i beleive kuja also already explain about this in English
<0> i'll paste to some pastebin the script i have written to make it little bit more clear <2> Might have been better to write the server if PHP supported threads. <2> Therefore I just suggest you write the server in another language that does :) <4> anyone here with pearDB experience? <2> That way you can keep reading and flush data into a list (x amount of data) and sleep for 0.005 seconds or something before sending what collection. <3> noppo: http://pastebin.com/578429 <4> I'm having a bit of trouble with a query that seemingly doesn't return anything <2> That'll at least keep things sane. <2> zmotok: Well, too bad, I hope you get it fixed soon. <2> Looks like there's nothing we can do. <2> Because, well, *we don't support PEAR* <4> oh :) <2> :) <4> ok then, thanks for the info <0> http://pastebin.com/578432 <5> regarding php4, is there a way to declare function to an outside of an existing cl***? <5> gdi, mangled that sentence <5> regarding php4, is there a way to declare a function outside of an existing cl***? <2> xeer: And make it part of the cl***? No. <2> xeer: The closest you can do is extend the cl***. <0> so, i should change the lines 63-71 to send output to Script 2 <0> Script 2 listens to Script 1 output and then sends it to stdout <6> hmm....i wonder if it's possible with the Oracle XML stuff to store a XSL in one table and XML in another and perform a select to get the resulting combination <3> noppo, nice... you already on the half-way for that, but this time you use DISK, now... the Task is remove DISK things, and replace it with sendDataStream.youGot.FromServerA.through.Socket() //if you get Requested <6> that'd be uberspiffy <0> Ox41464b: yes <0> but how? <0> what functions should i use <3> socket_listen things <7> enygma, wow, thats insane to even contemplate :P <0> socket_listen <0> ... <0> hmmm <2> enygma: You probably could write a stored procedure for it. <6> Davey|Work - you know you want to try it <0> Ox41464b: socket listen is for output? <7> enygma, pfft <3> socket_listen tobe act as Server <6> scaredy-pants <7> enygma, there are some XML extras for PgSQL I'd rather poke around with ;) <0> Ox41464b: okay, i will rtm <0> thanks again <2> Wouldn't it be easy to pull off with stored procedures? <3> nice... that what should you do from beginning <0> Ox41464b: i just wanted the advice <3> and from previous URL about socket, its already have example of listening <2> Oh hey, I wonder if that cool mIRC script works for X-Chat!! :O <6> kuja - I imagine so (about the procedures) <6> do you know if oracle has XSL transformation abilities? <2> If not, might have to just pull it off with writing the PHP for the SP <6> bleh, I was hoping I wouldn't have to :) <2> lol <6> no XSL support on here anyway <2> :P <7> enygma, you could write a PHP UDF for SQLite that did it :D <8> man, i forgot about this xchat window for a few days.. lol
<0> Ox41464b: the example 1 on that page returns an error <0> Fatal error: Call to undefined function socket_create() in c:\Inetpub\wwwroot\listener\listener.php on line 15 <7> anybody have any problem with that? <2> Boy if TML gave me ops, I'd +b *!*@* :) <2> That's probably why I ain't got ops :) <7> kuja, most probably <6> oh, I take that back <2> Davey|Work: Didn't [RainMkr] do that before? I heard something like it lol <6> we do have it <7> enygma, hrm? <6> XSL support in PHP <7> Oh, default in PHP 5 :) <6> yeah, well.....your momma dresses you funny <9> Davey|Work, Hey how was the PHP meetup? <7> Keizer, pretty good <7> after some dorks left <7> enygma, hey, ain't I seksi: http://flickr.com/photos/dshafik/106014116/ <6> im blind! <6> my eyes! <9> Davey|Work, I wanted to go but I had to take care of some stuff here and I didn't have enough extra time for the two hour drive >_< <6> oh, the humanity! <9> Davey|Work, Maybe next time. I just got a new job down here <6> wow, even had a girl there....impressive ;p <2> http://shugotenshi.com/about -- I think I'm a little ***ier <6> you = girly man <2> nooo! <9> lol <6> yay <6> I must be a liar now <0> people, why do i get "Fatal error: Call to undefined function socket_create()" <10> Davey. You r teh secski beast <9> http://keizer.noobgrinder.com/yum.jpg <-- The one on the right is me. The woman is 6'2 BTW <6> because you don't have support for that function compiled in? <11> noppo: You're php isn't compiled with sockets support? :) <0> o **** <2> Davey|Work: I demand Zend Framework now. <9> lol <7> kuja, how about.... **** YOU :P <6> yay <2> Davey|Work: I will abduct you in your sleep. <6> Keizer is a giant <2> And I will beat the living crap out of you and drop you off at Area 51, where they will pick you up and think "ALIEN!" <2> :D <7> kuja, promise? :) <2> lol <2> Davey|Work: What should I say next? "I will abduct you if you give me Zend Framework" or "I will not abduct you if you give me Zend Framework" :P <7> enygma, there was *2* women at the meetup <2> lol <7> jeebus Keizer, you're what, 6ft 4? <7> my step-dad is 6ft 4", I can still beat his ***. :P <6> Davey|Work - right, you and that other girl <9> Davey|Work, yep <9> I'm huge <7> enygma, *stab* <6> :D <7> Keizer, it wasn't you that worked for IBM was it? :/ <9> Davey|Work, I'll try to make it to the next meetup <6> Dan Scott ;p <7> no, not him. <9> Davey|Work, Not I <6> oh wait, not anymore <7> yeah, not anymore :P <2> I work for Microsoft. <9> Davey|Work, I used to work at UCA heh <6> I work for the FBI <2> Pfft, like hell I'd work for Microsoft :) <6> damn, now they're going to kill me <9> kuja, you write Perl for MS? <9> I used to know two Perl programmers on EFNET that worked for MS <2> Keizer: No, I write shell scripts for them. <2> :D
Return to
#php or Go to some related
logs:
kubuntu built in firewall via82 soundcard debian Firefox is installing your updates
ubuntu adjust gamma nvidia-settings xbox_sky #perl pam-login replaced #web kstartupconfig Could not find win64codecs
|
|