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-07-18
Pages: 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
39
40
41
42
43
44
45
46
47
48
49
Next >
[00:05]<jdddd>jiggster, that account better be to a swedesh massage parlor!
[00:06]<ayzzsvnz>as long as we're pretending then, sure
[00:07]<jdddd>jerk! =)
[00:07]<rnwv`>off!
[00:07]<ayzzsvnz>sounds good to me
[00:07]<ayzzsvnz>er, nvm :P
[00:14]<rwrggr2n>hello, if i am uploading multiple files with the name of the filebox being "Myname[]" I should be able to use a foreach to do whatever i want with each file uploaded, right?
[00:16]<ansvnzd><awannabe>: right
[00:16]<jd>awannabe, yes
[00:17]<rwrggr2n>any reason only the first one shows up?
[00:17]<rwrggr2n>i copied the example from the php manual, lol
[00:17]<jdddd>Davey, Check your email
[00:17]<drvnd>Jymmm: sure thing
[00:17]<drvnd>did you just send sometihng?
[00:17]<drvnd>otherwise, check your junk mail again ;)
[00:18]<jdddd>Davey, Check your OTHER email
[00:18]<drvnd>OK :)
[00:18]<jdddd>Davey, Just gimme my money biotch!
[00:19]<ansvnzd>awannabe: You mean, only the first one been uploaded?
[00:19]<rwrggr2n>yah, it doesnt display the others
[00:19]<rwrggr2n>ive tried naming the file boxes as well, instead of just using []
[00:20]<yvzn2rf>awannabe: you need to loop over the $_FILES array
[00:21]<drvnd>Jymmm: now send my plastic, beeotch
[00:21]<d9fu7>wtf does this mean, exactly? Warning: PDOStatement::fetch() expects parameter 2 to be long, object given in
[00:21]<ansvnzd><form enctype="multipart/form-data"> ?
[00:21]<jdddd>Davey, it's in the mail =)
[00:22]<d9fu7>doing a PDO::FETCH_INTO
[00:22]<d9fu7>passing $this as 2nd param (as stipulated by TFM)
[00:22]<drvnd>Jymmm: are you serious? :)
[00:22]<rwrggr2n>jestery: sure am
[00:22]<jdddd>Davey, gimme a few days, will let you know when it ships out.
[00:22]<ansvnzd>m4lu6: the second parameter should be 'long' type, not an object
[00:23]<drvnd>Jymmm: cool, :)
[00:23]<jdddd>Davey, Hey, that address is in the middle of a swamp man, no croc delivery for you!
[00:24]<d9fu7>jestery genius. wtf is that supposed to mean?
[00:24]<d9fu7>TFM says, "updates an existing instance of the requested class, mapping the columns of the result set to named properties in the class"
[00:24]<z00svnz>hello all
[00:24]<d9fu7>but gives no FI as to what that implies...
[00:25]<mnp2dvn>if i create an image with gd that contains only a font - how to get the fontsize ?
[00:25]<z00svnz>i'm very new to php, and not sure how I can set up a button so it will open a "browse for file"
[00:25]<d9fu7>HTF do I represent the class as a 'long' type, and since when is PHP so FC about types, anyway?
[00:25]<zylvxnzzacnz>Hi. What's the difference between using concatenation periods and commas when combining strings?
[00:25]<jdddd>!+.
[00:25]<drvnd>Jymmm: actually, its just behind it :)
[00:25]<jdddd>. is the concat operator
[00:25]<zylvxnzzacnz>yah
[00:26]<zylvxnzzacnz>whats the diff between using that and a comma
[00:26]<ajfmnz>comma is used to separate arguments, array elements, etc..
[00:26]<jdddd>Davey, seriously? So do the neighbors ever invitwee you over for "dinner" ?
[00:26]<zylvxnzzacnz>colder: but they do the same thing, no?
[00:26]<fxyfyf>same as the difference between an apple and a .
[00:26]<ajfmnz>no
[00:26]<drvnd>Jymmm: no, they call the cops when we fire off fireworks instead
[00:26]<jdddd>lol
[00:27]<zylvxnzzacnz>hm.
[00:27]<d9fu7>hey, which of you lives in Fla, davey or jymmm?
[00:27]<ansvnzd>awannabe: print_r($_FILES); ?
[00:27]<fxyfyf>ripthejacker: you could have seen use of , with echo(), but consider that like function arguments... see php.net/echo
[00:27]<ajfmnz>But in this special case: echo "a","b","c"; have the same result as echo "a"."b"."c";
[00:27]<d9fu7>i thought, long ago, one of you indicated you lived somehwere outside o'lakeland.
[00:27]<rwrggr2n>jestery: only shows first one
[00:28]<rwrggr2n>errr, wait
[00:28]<drvnd>m4lu6: I do, I work in lakeland, live outside it
[00:28]<d9fu7>riiight.
[00:28]<ayzzsvnz>it's my favorite PHP personality!! Davey!
[00:29]<jdddd>I'd slap him davey
[00:29]<drvnd>wooo! Phantom shipped! :D
[00:29]<rwrggr2n>jestery: shows both, second one just shows error = 4
[00:29]<jdddd>Damn, now getting RE spam.... http://15668.homestead.com/
[00:30]<jdddd>a la snail mail
[00:30]<drvnd>Jymmm: $3M? wow
[00:30]<jdddd>Davey, it has a vineyard!
[00:30]<jdddd>and a ham shack too
[00:31]<sugrrdcrpn>question: is there a specific set of functions to parse PDFs? I see the FPDF library tp create them... but don't see functions to read them.
[00:31]<mnp2dvn>does someone know how to get the fontsize when creating an image that contains only the font (with GD)
[00:32]<jdddd>Davey, oh fsck me... click on the "chess board"
[00:32]<drvnd>hahaha
[00:32]<ansvnzd>awannabe: impossible...
[00:33]<sgzdgdvd>bcompiler doesn't seem to run for php5.... At least they don't mention in the doc.... Anyone knows about it ?
[00:33]<rwrggr2n>jestery: i checked again, and it shows only one being uploaded, i got more then one input box on this form, my bad
[00:33]<rwrggr2n>still doesnt explain why i cant upload more then 1
[00:33]<drvnd>you know what, Jymmm, if I'm gonna spend $3M on a house, I want something a little more concrete than "Approximate" square footage
[00:34]<ansvnzd>awannabe: see http://www.jlttcs.com/his/tmp.php
[00:34]<d9fu7>fascinating. dbh->query("call foo('bar')", PDO::FETCH_INTO, $this) *does* work.
[00:34]<jdddd>Davey, Hey 5K is pretty big. though the garagae seems a lil small
[00:34]<ansvnzd>:) have fun
[00:34]<sgzdgdvd>Wow, that's great we moved from ip addresses to have something easier to remember, jlttcs.com really helps :P
[00:35]<rwrggr2n>must have a flaw in my code somwhere
[00:35]<d9fu7>alas, no, it does not. wez. you suck.
[00:36]<ansvnzd>Serinity: No apache, no php installed on my system, I can only ftp them to remote...
[00:37]<ansvnzd>jlttcs.com is running on freebsd-6.1 hehe!
[00:38]<jdddd>Davey, in the flyer... theres a 25KW generator too
[00:38]<drvnd>Jymmm: it would need that much to run it
[00:38]<lzvzyacaq>hi
[00:38]<drvnd>I have a 5550W generator that runs my house except A/C :)
[00:39]<jdddd>Davey, I think that's for the radio shack alone (maybe some extra lighting too)
[00:39]<ansvnzd>m4lu6, still have problom... pdo::fetch_into?
[00:39]<d9fu7>yep
[00:39]<rwrggr2n>jestery: thanks for the help, ill poke around at this some more, at least im doing it the right way! heh
[00:40]<d9fu7>oh well. i'll chalk it up to 'PDO bugginess' and go savage my wife.







