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-18
[00:02]<wjlllrws>*blink*
[00:11]<vyvcus>Hi. I'm PHP programmer and good webmaster. Who need cool website for $, send me PM. My some works: eurofootball.lt ; eurobasket.lt
[00:12]<rrdrdr>don't advertize in here
[00:12]<vyvcus>ok
[00:12]<vyvcus>sorry
[00:13]<sgrg_dyacgg>Vitkus: use those "good webmaster" skills and make a website for yourself...
[00:14]<vyvcus>i'l maked website for myself, but i want and yourself. sorry, i'm back from realunix.net.. :) advertize channel :)
[00:15]<zzzdzgw>any web designers around?
[00:16]<vyvcus>rarman1: i'm listen
[00:16]<vyvcus>rarman1: i'm listen
[00:16]<wjlllrws>!tell rarman1 about guidelines
[00:16]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")
[00:16]<zzzdzgw>Wolfpaws: should I be asking somewhere else?
[00:16]<wjlllrws>rarman1: yes. #php.jobs
[00:16]<yvzn2rf>heh
[00:17]<zzzdzgw>well it's more of a free consultation, not a job
[00:17]<wjlllrws>RAWR
[00:17]<zzzdzgw>=?
[00:18]<wjlllrws>itrebal: http://storm.homeunix.org/misc/bts/catgirl.jpg
[00:21]<gruvyregot>How do I define a method in PHP that throws an exception?
[00:21]<gruvyregot>is that possible in PHP 5?
[00:21]<zzzdzgw>there is a catch command
[00:21]<gruvyregot>for example: public function connect() throw IOException {}
[00:22]<gruvyregot>but that doesn't work
[00:22]<gruvyregot>i want something like what java methods can do...
[00:22]<wjlllrws>um... php.net/oop5
[00:23]<rjjvsgrvax>is anyone in here?
[00:23]<xgg0g>Hmmm.. this is strange... is there any way to add the PEAR dir to include_path?
[00:24]<rjjvsgrvax>so I am using a php script and it creates a SQL insert string that says
[00:24]<rjjvsgrvax>insert into entries values('2c4a1bd51d982738b6b2159fa4540078','4396','6')
[00:25]<gruvyregot>Wolfpaws: so basically I don't have to explicitly state that is throws an exception?
[00:25]<rjjvsgrvax>now when go into the mySQL database the second field the 4396 field is 127
[00:25]<rjjvsgrvax>whenever I run this using the script it enters 127
[00:26]<rjjvsgrvax>now if I just hard code that second field, it then works fine
[00:26]<xgg0g>RootSnatch, this isnt a PHP problem, its an SQL problem... but...
[00:26]<yvzn2rf>Wolfpaws: nice :)
[00:26]<xgg0g>the problem is most likely the integer size you selected
[00:26]<rjjvsgrvax>but when I hardcode the value it works fine
[00:26]<xgg0g>you using TINYINT ?
[00:26]<rjjvsgrvax>yes I am
[00:26]<rjjvsgrvax>wow
[00:26]<wjlllrws>itrebal: My first catgirl :3
[00:26]<rjjvsgrvax>what I stupid thing of me
[00:27]<xgg0g>RootSnatch, i'm not sure, but tinyint might be 8 bits only
[00:27]<rjjvsgrvax>it is a tinyint(20) how high a number does that allow for
[00:27]<xgg0g>max of 127 is right for 8-bit signed
[00:27]<rjjvsgrvax>ok
[00:27]<rjjvsgrvax>thank you
[00:27]<xgg0g>try using SMALLINT or just INT
[00:28]<xgg0g>otherwise... maybe your code isnt doing what you think it is, if you think it should be entering one number and it is entering another one
[00:30]<rjjvsgrvax>thank you
[00:35]<yvzn2rf>Wolfpaws: so when does the first pr0n get released?
[00:37]<xgg0g>anyone know the best way for converting backwards and forwards between unix timestamps and ISO8601 timestamps?
[00:40]<xgg0g>also, anyone has any idea why PEAR wouldn't be in the include_path?
[00:42]<fzvgxjzg>hi, I would like to know if it's possible to mix SQL code with PHP functions. I need a "ORDER BY php_function(row[id])" kind of quote..
[00:42]<wjlllrws>itrebal: anthro or human?
[00:43]<wjlllrws>latehorn: It's not.
[00:44]<fzvgxjzg>A guy in another chatroom told me it is..
[00:44]<wjlllrws>which one?
[00:44]<xgg0g>so THATS who Wolfpaws is!!!
[00:45]<xgg0g>gah!
[00:45]<wjlllrws>hm?
[00:45]<xgg0g>damn you stormchaser!
[00:45]<wjlllrws>why?
[00:46]<xgg0g>just because? :P
[00:46]<wjlllrws>I mean, did I do something to you ?(except mute you)
[00:47]<suzpmun>whats the stuff used in most templating systems with that buffer output whats the info so I can look that up?
[00:47]<ceredtuw>surfdue, ob_start
[00:47]<wjlllrws>surfdue: It's called "code"
[00:47]<rfrcrerd>http://php.net/ob_start
[00:47]<xgg0g>Wolfpaws, nope - just confused me :P
[00:47]<suzpmun>ty
[00:48]<wjlllrws>Xen0n: I'm confused percon... Deal with it XD
[00:48]<xgg0g>Anyone know where the include_path is controlleD?
[00:48]<xgg0g>PEAR for some reason isnt in it ...
[00:48]<wjlllrws>php.ini
[00:49]<`d0>hi, how do we use curl to grab conents of a URL
[00:49]<xgg0g>hnmm
[00:49]<`d0>and later on to get part of that data
[00:49]<xgg0g>there is no declaration for it in there :/
[00:49]<wjlllrws>`m0: php.net/curl and RTFM
[00:49]<`d0>IT is a resource
[00:49]<`d0>I cannot alter that resource
[00:49]<wjlllrws>erf... Sorry...
[00:50]<wjlllrws>Why are you using fopen?
[00:50]<yvzn2rf>`m0: why not just file_get_contents ?
[00:50]<`d0>i am using curl
[00:50]<wjlllrws>why?
[00:50]<`d0>it is disabled in my php
[00:50]<wjlllrws>There are easier way to deal with grabbing external content
[00:50]<wjlllrws>you have fopen off?
[00:51]<`d0>yes
[00:51]<wjlllrws>why?
[00:51]<`d0>i wanted to use curl
[00:51]<`d0>dreamhost doesn't allow me
[00:51]<wjlllrws>ew.
[00:51]<wjlllrws>switch hosts, then
[00:51]<`d0>dh is great..
[00:52]<`d0>it is for a university club
[00:52]<`d0>so I don't pay that much money







