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-23
[08:39]<dnznac>nor is it a program
[08:39]<dnznac>but if your CODE has an error.
[08:39]<fxyfyf>georgex: look around uniqid
[08:39]<dnznac>it WILL give you a line error
[08:40]<sxndrfn_drrya>well for example a guy today told me he likes java because it tells him in an error called I believe a stack trace what object or calss failed
[08:40]<sxndrfn_drrya>so u can track down the problem
[08:40]<dnznac>yes. php even tells you the problem.
[08:40]<znjzznw>philip about expire thing... how do you store the information? session?
[08:40]<sxndrfn_drrya>where does the line error appear? in an error log?
[08:40]<tjufgg>shemale_magic: PHP tells you exactly where the problem is and what it is.
[08:40]<dnznac>no
[08:40]<dnznac>shemale_magic, on the page that's generated.
[08:40]<sxndrfn_drrya>ahh
[08:40]<tjufgg>shemale_magic: It dpeends on how your php is configured.
[08:40]<sxndrfn_drrya>ok
[08:41]<sxndrfn_drrya>impresive
[08:41]<tjufgg>It usually displays it on the page unless php is configured with a log file
[08:41]<tjufgg>Then it will be in the log file.
[08:41]<fxyfyf>georgex: i assume you email them a link, to activate
[08:41]<jdddd>PHP will tell you where the compiler failed.
[08:41]<znjzznw>philip yes correct.. something like this:
[08:41]<sxndrfn_drrya>now do working programmer code php in liek text editror or some IDE?
[08:41]<fxyfyf>store in db, or anywhere, not session
[08:41]<jdddd>philip pigeon carrier.
[08:41]<znjzznw>http://domain/tour/forgot.php?mode=activate&aid=58fd33d4e75f1dad3a514e019c
[08:42]<dnznac>dreameaver is good.
[08:42]<dnznac>dreamweaver
[08:42]<tjufgg>shemale_magic: They all use Zend
[08:42]<jdddd>Ha!
[08:42]<dnznac>er
[08:42]<znjzznw>right now i use $reactkey = md5($ag_id.$ag_password_validdate);
[08:42]<jdddd>Dereck: *IF* I had any respect for you, it's gone now.
[08:42]<fxyfyf>add some randomness
[08:43]<fxyfyf>shemale_magic: most use editors
[08:43]<bfun-svnnf>hiu guys
[08:43]<dnznac>why? dreamweaver?
[08:43]<znjzznw>ok i should do something like this $reactkey = md5($ag_id.$random);
[08:43]<fxyfyf>sure
[08:43]<znjzznw>then where do you store the $reactkey?
[08:43]<jdddd>georgex and an expiration date too
[08:44]<bfun-svnnf>quick question : where or what do i need to get to be able to create a page like this : http://hashphp.org/pastebin.php .
[08:44]<fxyfyf>in a db usually
[08:44]<tjufgg>Blue-Steel: A clue?
[08:44]<dnznac>Jymmm, i don't get why you're all assy towards me
[08:44]<znjzznw>nice... :)
[08:44]<znjzznw>thank you
[08:45]<bfun-svnnf>Touqen: i can start there. do you have one to give me ?
[08:45]<tjufgg>It's not cheap. It's going to cost you.
[08:45]<fxyfyf>Dereck: you just promoted dreamweaver in a geeky open source channel, what do you expect? :)
[08:45]<bfun-svnnf>how much ? Touqen
[08:45]<dnznac>oh right.
[08:45]<fxyfyf>a channel that will say "use vi use vi USE VI!!!"
[08:45]<dnznac>go vi!
[08:45]<dnznac>vi all the way!
[08:45]<dnznac>fuck vim
[08:46]<dnznac>vi
[08:46]<tjufgg>Blue-Steel: At least 6 years of hard work
[08:46]<fxyfyf>exactly, be pure
[08:46]<bfun-svnnf>Touqen: sure. details ?
[08:46]<fxyfyf>Blue-Steel: to create a page like that you find one via google, download, read INSTALL, and install it :)
[08:47]<tjufgg>Anyone want to bankroll my newest venture?
[08:47]<bfun-svnnf>im googling but dont know exactly what to look for . ( package name ?)
[08:48]<tjufgg>Blue-Steel: search for pastebin?
[08:48]<znjzznw>Jymmm does use $reactkey = md5($agent_id.$expire_date); is enough ?
[08:48]<bfun-svnnf>i am
[08:48]<tjufgg>cpp.sf.net maybe?
[08:48]<fxyfyf>pastebin source php ?
[08:48]<fxyfyf>georgex: sorry but you are way off base here :)
[08:49]<znjzznw>^^ ok
[08:49]<fxyfyf>you store a random key (ex. using md5 or uniqid), and a expiration date, in a db
[08:50]<sxndrfn_drrya>Ill bankroll a good investment
[08:50]<vxn-nzd>What is it?
[08:50]<fxyfyf>a pastebin :)
[08:51]<fxyfyf>heh
[08:51]<tjufgg>Jymmm: Would you do the honors?
[08:51]<ruum>lol
[08:51]<ryddygxrgssjg>Good morning Jymmm :)
[08:52]<dnznac>the 2001 space odessy theme?
[08:57]<jdddd>jimmiehansson good is a relative term
[08:58]<ruum>so is morning, with timezones etcetera
[09:06]<tjgzgg>Hey guys, I have a general question. This article got Dugg and a lot of people are slamming it in comments for not standing up against server load, but I don't get why. Also, I don't understand why the writer uses a transparent gif "web bug" instead of just include()ing the file. Can anyone fill me in?
[09:06]<tjgzgg>Article: http://www.phpit.net/article/creating-whosonline-script-php/
[09:07]<gydl_>whats the function for getting the arguments sent into a function, for use in functions with a variable number of arguments?
[09:09]<ruum>gimp: func_get_args()
[09:10]<gydl_>Ruud: thanks. i could find it on the manual for the life of me
[09:10]<cnv00n>Tonren: the fact that it uses a graphic and output buffering is a red flag to me
[09:11]<z2zzcnv>Question. I have a site on a machine running a version of PHP that doesn't support negative timestamps, so right now mktime doesn't work right for dates before Jan 1, 1970. Any suggestions on how I can determine someone's age if they were born before 1970 on a machine that can't mktime those dates?
[09:11]<ow9w9792>how did you call 'litre,meter,gram' in english ?
[09:11]<sxjjjjjjv>it.
[09:12]<cnv00n>Ox41464b: gallon, yard, pound??
[09:12]<ow9w9792>kev009, etc... what you call that ?
[09:12]<fxyfyf>imperial system
[09:12]<cnv00n>Ox41464b: imperial
[09:12]<mnzmzjjv>litre, meter and gram is also english :)
[09:12]<ow9w9792>oh i see...
[09:12]<ow9w9792>thanks...
[09:12]<ow9w9792>deadroot, i dont know how to describe 'imperial'
[09:13]<cnv00n>wikipedia.org
[09:13]<ow9w9792>and i never heard that before :/
[09:13]<sxndrfn_drrya>hey







