query = SELECT nameSEC_TO_TIMEtotaltime from db1character order by totaltime DESC LIMIT 20 and i cant understand
syntax where is it used? and can someone point me to a guide that i can read on this
blizz the thing is, if you need that kind of functionality, than you have designed your application wrong.
as a side note – calling someone “some kid on ##php” doesn’t give you much credibility
nvictor, we don’t support third party applications here
nvictor, ask the authors of the application about your problem
please
nvictor, it looks like you fixed it i don’t see the problem anymore
I wish to better understand functions findclone($ip) { I want to return a table of nicks & other info associated with that ip
blizz oh really? credibility on freenode? maybe you should talk to someone with a comp sci degree that you can see on their wall.
nvictor, nevermind it’s not like that on anothe rpage
you mean?
is it working elsewhere?
nvictor, yes
thanks all
nvictor, http://209.85.40.50/index/hhg-interviews-action — on that page the same text does not have that problem
cythrawll: you guys are talking about php’s runkit?
nvictor, why are you replacing the quotes with another character is what you have yet to tell me
I was about to do so
i don’t think you understand what i am trying to do.
blizz, can I guess your writing some sort of daemon that uses classes as plugins? and you want to reload classes?
how long it takes to get into the code of php for a person having a programming background working 5 hours aday.
it is something related to the way this CMS forces me to interact with Javascript
i am new to php
so you can dynamically reassign plugins?
so will you take a look at the code?
nvictor, why are you using that CMS
Pollita, who is definitely not “some kid” wrote it, or at least part of it, recommends not using runkit if you can avoid it
i am merely interested whether it is possible to reload class/method definitions in php5.
long story, needed money, found freelance work…
not without runkit, unfortunately
nvictor, how much are you getting paid for this
if you know another or even a better way (seperate processes with ipc, whatever), please tell me.
http://deadbeefbabe.org/paste/5612, the function we must use is rpc_handle, which uses rpc_serialize
nvictor, why do you have to use rpc_handle and rpc_serialize
so I took a look at rpc_serialize…
a IPC type system could work, php does support unix sockets
blizz, w00t
that’s the way you interact with the server via their rpc.js ajax module
that’s my code http://deadbeefbabe.org/paste/5613
nvictor, why are you making everything ajax
echo rpc_handle (new SlideWdg (), $parameters);
i think i even saw some sysvmsg/shared memory functinality a few years ago, but that would be PECL stuff again i guess
._.
blizz sounds like your trying to write something in php other than a web application
because they have seen a good feature on competitor website done with flash, and since they don’t have flash, they want to use ajax
tane tane fontane
nothing wrong with pecl
phlpp, haha,
again, my interest is not limited to a specific purpose
nvictor, it sounds like you should give me your job.
blizz, just going to tell you, there are better tools to do that stuff, php web hosting is probably the worst choice.
look at this http://www.hiphopdx.com/index
see the flash image rotating effect?
they want the same
nvictor, you shouldn’t be using javascript to load all of the content
just the summary
not all
using php for anything other than web applications will cause more struggle than what it’s worth.
nvictor, that has nothing to do with ajax
I see
so it’s PHP
or the encoding of the responseText
right?
nvictor, no you’re just doing everything plain wrong
I wish I could have done it my way
nvictor, the CMS is not forcing you to make everything load with javascript i doubt that
notice, javascript has no way to resize picture, they will tell me to find a way, then I would have to create thumbnails on server side dynamically
no, the CMS does not
javascript can resize pictures
really?
nvictor, so why are you loading all of the content in javascript
yes, – though it can not rewrite the file
tell me more.
I’ve seen it done many times – you click on the corners of the image and drag – then it resizes the image in the browser
nvictor, i don’t think you know what you’re doing
tell me
anyone knows a function to print a floating point with a limited number of decimals?
nvictor, find another job/profession?
round() El_Angelo
what I’m doing wrong?
that’s called formating. sprintf()
merely playing around with php5’s “new” “oop” “features”.
ah
I’ll try the encoding, I suspect that
thnx
bb
well blizz, the very idea of reloading class definitions is absurd in any language, class definition and inheritance structure are created at compile time. To expect the ability to reload classes at runtime would cause too much overhead.
hi – making the move to php. The