| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<0> and make sure there is at least a link to it in one of those paths <1> thanks deuce868 <1> Is there anything else it could be <2> deuce868: Yeah, it's Linux. Just a second...I'll try that... <0> DekaPatroller: what change are you seeing that you're not liking exactly? <1> well i have a bunch of api functions, when i run them in the same script they work <1> but when i try to p*** a value so i can execute one api function per script, the api call in the second script refuses to run <2> deuce868: It needs to be a .so file, right? <0> asdfghjkl: not sure what pslib is so can't say. I just mean that the for php to load anything it has to be in the PATH <2> deuce868: Looks like it's outside of the path - thanks! <0> asdfghjkl: yea so just create a link to somewhere in the path and document it so you remember it next time you set it up. <3> whats up guys <2> deuce868: Thanks - I didn't know where PHP looked for libraries. <2> deuce868: It's in /usr/lib - how would I symlink it (don't remember the command)? <0> ln -s <0> man ln
<2> deuce868: Thanks - I can figure it out, but I forgot what the command is called. <4> symlinks are evil <2> toggg: So how would you get /usr/lib/pslib.so.0 into the path? <4> no idea what's the question , sorry <2> toggg: I've got a library (pslib) that PEAR won't seem to find - it's not in the path. deuce868 suggested that I symlink it into the path - that way it'd compile. <4> I just heard it's evil, and I would agree it's just good for testing purpouses <4> ha, as a turn around waiting something better then ... <5> hi <2> toggg: Looks like it didn't work anyways. <2> Jayinwww: Hi! <5> how are you? <4> in fact, you mean the OS path, not the php one <5> toggg: hi <6> does anyone have any good information or resources on creating a codebase which allows for modules (on any language really, but it would be nice if it pertained to php) <7> sslashes: aww too bad you dont know my buddy, he did an awesome module thing <6> jiggster: heh, no chance it is open source and sitting on sourceforge now, eh? =P <7> unfortunatly, no <2> togg: Yes - the OS path. <6> i have found it very difficult to find decent online information on the subject, for any language <2> toggg: PEAR is saying "error: wrong pslib lib version or lib not found" <4> adress it better on EFNet's #pear asdfghjkl , it's linda of topic here, perhaps <8> hello, anybody can point me a good php site tutorial bout membership that also include with INBOX private message facility ? <4> kinda <8> i want to create my member can send private message each other <2> togg: Didn't know there was a pear channel. Thanks <2> Bye! <7> hm <9> hi <4> funny world, jiggster :) <8> though ? <10> hello <7> toggg: wha? :P <4> ditto <11> iggy enygma <12> hola <11> heh, looks like a toaster http://www.netgear.com/products/details/SC101.php <7> haha <7> yeah it does <7> "accessible as a letter drive" oh joy :\ <7> what about nix!? <11> jiggster samba <7> :\ <8> btw, i've 4 tables in database, is it possible to make search script with php lookup from that different tables and display the output if succeed ? <11> jiggster it has telnet <9> i need to control $_POST values. only integers are accepted. would you recommend the use of ctype_digit() ? <7> it looks pretty cool though none-the-less <7> well no not looks, sounds <7> well <7> once again <7> i'm abandoning windows for a while <11> jiggster: come on... the retro toaster look is just bad *** <9> the problem is that is_numeric() will return true if the user type "14.122" or "14,122" <7> hmm <7> **** <11> jig <11> jiggster <11> What operating systems cannot be used? <11> * Macintoshes
<11> * UNIX <11> * 64-bit operating systems <7> i dunno i didnt look at it beyond the pic ;P <11> I know. <9> what about my "problem" ? :) <11> Vinadelmar TIAS <11> !+tias <13> [TIAS] Try It And See. If you want to know if something works, try it first. <9> Jymmm, my question was : `would you recommend it ?` <14> Vinadelmar, use regex <11> elBugz oh hell no <11> Vinadelmar yes, <9> read before sending tias around <11> Vinadelmar ok, then, no I dont recommend it. <11> wait, maybe I recommend it. <9> :| <11> Vinadelmar and again TIAS for yourself. <9> :| <7> grah <9> i tried both but i dont know what's better. if you can't tell me about your personal experience just say 'i dont know' <7> i need a bigger room <7> i need two comp tables :P <9> or idk if you want <9> elBugz, ctype_digit looks like a '/\d+/', thing is that i need to control like 20 entries in $_POST. regex use quite a lot of resource. if ctype_digit is faster then i would use it <9> but how do i know it is faster ? :) that's the inner question. <9> Jymmm, don't say a word... lemme guess : TIAS ?? <15> Vinadelmar: xdebug ? <11> Vinadelma What part of try it and see for yourself dont you understand? If you want to time , then time it. <16> Vinadelmar, have you tried is_numeric() ? <9> just don't read me Jymmm i'm chatting with helpful people <9> here we go <9> Plasma, yep i have <9> but is_numeric returns true for "1,100" or "1.100" <15> Jymmm: drastic :P <11> Vinadelmar: Now you have 20 minutes to TIAS. <16> I have an interesting question... one of my scripts runs forever (as a daemon), it does many, many queries (to local mysql db) per second <16> usually means myqsl/php are fighting around 90% cpu time, which usually isnt a problem (does not impact the performance of the server) <16> was just wondering if anyone has ever dealt with having to issue so many queries so often? <16> Its having to constatnly query because new data may appear and an action needs to be taken for example <16> not really a problem at the moment, just wondering if anyone has any ideas for optimization <11> two servers =) <16> its probably going to end up on its own machine at one point, but what its on at the moment is fine <16> I guess its as optimized as its gonna get thou :) <17> optimize your queries <17> that should help a lot <11> Plasma: If you're doing that many queries, it's the simplest approach <11> !+kiss <16> yeah done work on those, they are fine <13> [KISS] Keep It Simple Stupid. Why overthink things? <16> exactally :) <11> and why are you running it as a daemon and such a heavy load? <11> (just curious) <16> Anyone experimenting with sockets and php at the moment? Ive put together a (yet to be completed) object based multiclient server example (mostly as a learning experience) if anyone is interested in some code <16> ah, its acting as a server (clients connect to it) and it issues commands to the specific clients <11> sounds like a web server - specifics man, specidfics! <15> Jymmm: its a botnet ;) <11> Meltir sounds like it to me <16> this php server (which is fed commands via a conduit) gives commands to console applications on remote hosts to manage software/servers <16> heh far from it :) <11> not really <15> yup, it sounds like spam servers ;P <16> haha <11> zombie server <16> I get enough spam thanks, dont dare review my spambays history (I havent done it for a good week and a half) <18> hi ive been playing with arrays in $GLOBALS and have been having problems just wondering if someone knew this off hand ?http://pastebin.com/525568 thanks <15> Plasma: if its such a specific use, why not go with c++ ? <16> yeah Meltir, well probably due to legacy (im sure we will soon recode it with a compiled language, afterall it would give some speed) - but at the moment its working out fine <16> the console applications are all c++, but yeah, a c++ server would be good <16> originally the entire system was php based, now only the server end is coded with php <15> i could see a major speed increase in recoding it, but the legacy code is a valid reason. <16> yeah definitely <16> Its just going to take a bit of time is all (the server is not that complex, simply reads some results from a database table and sends specific data to a host, and so forth) <16> but at the moment its working fine, but ideally a compiled application will perform much better <16> php server, c# web front end with c++ client applications
Return to
#php or Go to some related
logs:
BadMatch glxgears nvidia NVRM: No NVIDIA graphics adapter found! +ubuntu glxgear ubuntu repopulate apt-get database #debian xorgconfig xorgcfg fedora 6 #debian mergedfb ubuntu autodetect SELinux ioncube ebuild does not follow correct package syntax
|
|