IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1982.49 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-06-08
Pages: < Prev
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
36
37
38
Next >
[16:22]<nrdnfnsswq>keyword being seek
[16:22]<||aw>Nameless12: and after you find them, you employ them
[16:22]<nrdnfnsswq>hire means To obtain the services of in return for fixed payment
[16:22]<nrdnfnsswq># To obtain the services of a person by giving them a job.
[16:22]<||aw>employ/hire doens't imply cash payment
[16:22]<pnznscj>i need to have php with --enable memcache compiled, for plesk...maybe someone here also used memcache?
[16:22]<ermmrgr>can you use label and goto, or something similar, in php?
[16:23]<nrdnfnsswq>||cw, you are being a tool. You are starting something over nothing because you are so anal. It doesnt matter what it means stop making something of it. But if you want to be anal about it I am right... the definition of hire makes it very obvious.... so blah
[16:23]<||aw>Peresko: um, so, recompile?
[16:23]<nrdnfnsswq>http://en.wiktionary.org/wiki/hire
[16:23]<||aw>Nameless12: rules is rules. I didn't make them
[16:23]<nrdnfnsswq>rules, what rules
[16:24]<||aw>Nameless12: the one's I'd tell you to read on the bot were here
[16:24]<rrdrdr>||cw - which one would that be?
[16:25]<nrdnfnsswq>What so the rules are that you can be an anal asshole and I can not disagree with anything you say?
[16:25]<||aw>enygma: php-bot
[16:25]<pnznscj>recompile okay, when u don't have plesk its easy, but i have plesh reloaded 7.5.4
[16:25]<||aw>hm, stormbot...
[16:25]<||aw>!tell Nameless12 about jobs
[16:25]<pnznscj>plesk
[16:25]<rrdrdr>ahhh
[16:25]<mycnmu2>I'm an XML newb.. could someone point me in the right direction for using php to parse a remote xml document? (in this case, a yahoo geocoding result).
[16:25]<pnznscj>plesk, the best there is...
[16:26]<||aw>Nameless12: and the ops consider non-paid work as a job too
[16:26]<rrdrdr>Nameless12 - there's plenty of places that Google can recommend
[16:26]<nrdnfnsswq>here is a bit of advice ||cw. Help someone or leave them be.
[16:27]<||aw>well how the hell can I ever hope to get ops here if i don't make an effort to uphold the rules? :D
[16:27]<nrdnfnsswq>I hate people like you that are so anal. I bet you have broken a lot of rules your self in the time i have been here
[16:27]<rxrsvr>here is a bit of advice Nameless12. Don't be needlessly annoying and you won't have any problems.
[16:28]<||aw>Nameless12: only one, talking off topic and feeding trolls
[16:28]<pnznscj>plesk + memcache + php > 4.3.3 anyone has some experience in these configuration???
[16:29]<zyrxvgjw>||cw: is there any info somewhere how to install http_client? im a newbie at pear
[16:29]<||aw>Peresko: if it says you have to recompile, then recompile. if it's some plesk special thing, then you'd have to ask them.
[16:29]<||aw>rightnow: generaly you need shell access and root on the server.
[16:30]<zyrxvgjw>yeah i have all that
[16:30]<||aw>rightnow: pear install http_client
[16:30]<rrdrdr>what is it....something like "pear install http_client" I think
[16:30]<rrdrdr>yeah
[16:30]<zyrxvgjw>ok
[16:30]<zyrxvgjw>so i need pear first then, thats what i thought :)
[16:30]<||aw>of course, that assumes you have pear
[16:31]<rrdrdr>heh
[16:31]<||aw>apt-get install php4_pear ?
[16:31]<zyrxvgjw>on win32? :)
[16:32]<dsv>hahaha
[16:32]<dsv>found this in the production code
[16:32]<dsv> if ($url) {
[16:32]<dsv> // This be javascript? We is replace teh profile!
[16:32]<||aw>rightnow: oh, run the "gopear.bat" that came with php
[16:32]<zyrxvgjw>oki
[16:33]<||aw>mst: nice
[16:33]<dsv>||cw: someone had fun
[16:33]<kyffnz777>mst, outsourcing?
[16:33]<kyffnz777>:P
[16:33]<myfjs>hey
[16:36]<xnfyjsvnax>hi
[16:36]<xnfyjsvnax>can somebody unband a user ?
[16:36]<zyrxvgjw>||cw: ive run gopear.bat.. now how do i install httpclient?
[16:37]<||aw>rightnow: you should now have a pear.bat file
[16:37]<xnfyjsvnax>and how can i convert an IP adress in INTEGER to store it in MySQL
[16:37]<zyrxvgjw>yeah, pear install ... packet_name?
[16:38]<mnfvyz>rightnow: more or less. its in the docs on pear.php.net
[16:38]<||aw>yup
[16:38]<xnfyjsvnax>nobody knows ?
[16:38]<||aw>IIRC, it needs some env vars and you might have to log off to get them set
[16:38]<zyrxvgjw>i need to download it first, right?
[16:39]<mnfvyz>heliostech: explode
[16:39]<azjvs>not an ip but also short
[16:39]<azjvs> function encode_ip($dotquad_ip)
[16:39]<azjvs> {
[16:39]<azjvs> $ip_sep = explode('.', $dotquad_ip);
[16:39]<azjvs> return sprintf('%02x%02x%02x%02x', $ip_sep[0], $ip_sep[1], $ip_sep[2], $ip_sep[3]);
[16:39]<azjvs> }
[16:39]<azjvs> function decode_ip($int_ip)
[16:39]<azjvs> { if($int_ip=='cli') return $int_ip;
[16:39]<mnfvyz>!!!!
[16:39]<azjvs> $hexipbang = explode('.', chunk_split($int_ip, 2, '.'));
[16:39]<azjvs> return @hexdec($hexipbang[0]). '.' . @hexdec($hexipbang[1]) . '.' . @hexdec($hexipbang[2]) . '.' . @hexdec($hexipbang[3]);
[16:39]<azjvs> }
[16:39]<||aw>rightnow: no, the installer will download it
[16:39]<zyrxvgjw>oki
[16:39]<||aw>as well as dependancies
[16:39]<mnfvyz>jrots: please dont do that again.
[16:39]<||aw>!tell jrots about pastebin
[16:39]<xnfyjsvnax>Meltir
[16:39]<xnfyjsvnax>no it was ip2long
[16:39]<xnfyjsvnax>thanks anyway
[16:40]<kyffnz777>why not to store it as unsigned int
[16:40]<mnfvyz>heliostech: cant really do that without getting ridd of the dots, and so on. explode is the basic function jrots uses in his script too.
[16:40]<xnfyjsvnax>rid ?
[16:41]<xnfyjsvnax>ip2long is unique
[16:41]<xnfyjsvnax>it's a base 256 converter
[16:41]<mnfvyz>then i missed something, my bad
[16:43]<zyrxvgjw>||cw, last simple question.. ive installed the package with --alldeps .. it said its successful.. now i do i get the script to find HTTP/Client.php ?
[16:43]<2j2sfrnmn>template engines, which is the best?
[16:43]<lnmzjpzzyz>i like smarty
[16:44]<lnmzjpzzyz>smarty.php.net
[16:44]<||aw>rightnow: make sure your include_path has the per dir in it, then just follow its examples
[16:44]<zyrxvgjw>oki, thats what i thought! thanks :)







