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-20
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
50
51
52
Next >
[00:00]<cnfv>!+PCRE
[00:00]<fusxuyrr>i have a question...
[00:00]<fusxuyrr>what's the difference between mysql and mysqli?
[00:00]<srgcnvmnmxy>!mysqli
[00:00]<srgcnvmnmxy>!mysqli > Fushuing
[00:00]<fusxuyrr>...
[00:00]<wjlllrws>wha?
[00:00]<srgcnvmnmxy>can anyone answer my question?
[00:01]<_2fj2_>hey guys: anybody into design patterns ?
[00:01]<tjufgg>TheDeathArt: I think it's just you.
[00:01]<fusxuyrr>SanketMedhi: i think you missed the +
[00:01]<fusxuyrr>!+mysqli
[00:01]<srgcnvmnmxy>Fushuing: !mysqli worked for me
[00:01]<srgcnvmnmxy>!+mysqli
[00:01]<srgcnvmnmxy>same thing
[00:01]<wjlllrws>!+msg the bot
[00:01]<lxl-2jv>Please speak to the bot in a private message for all of your personal requests!
[00:01]<srgcnvmnmxy> I want to use the GET data from a form....but the variables sent from the form page are like client[name], client[surname], and so on. How do I echo them using the $_GET[] array?
[00:02]<tjufgg>TheDeathArt: What exactly are you passing to the setAttributeNS function?
[00:02]<tjufgg>SanketMedhi: $_GET['client']['name']
[00:02]<fusxuyrr>it doesn't answers my question of which of the two i would use
[00:02]<srgcnvmnmxy>Touqen: oh ok thanx
[00:02]<vxndnzvxzzv>Touqen setAttributeNS('','xmlns:USER','http://dragons-lair.org#rdf');
[00:03]<vxndnzvxzzv>if the first argument is not the escact w3c url it just fails.. kinda annoying
[00:03]<egjg>Hi all. Question: is $||| a standard variable name in PHP or does it have some special functionality like $| in perl?
[00:04]<tjufgg>TheDeathArt: what if you did setAttributeNS("blah.org/ns/user", "user", "value")?
[00:04]<vxndnzvxzzv>Touqen "namespace error"
[00:04]<vxndnzvxzzv>or wait.. not if you don't set a prefix :p
[00:04]<wjlllrws>$| is parse error
[00:04]<vxndnzvxzzv>accualy yes, "namespace error" Touqen
[00:05]<egjg>Wolfpaws: right, $||| is not ?
[00:05]<egjg>Wolfpaws: i have a script I downloaded which uses it and works OK.
[00:05]<egjg>Wolfpaws: i'm talking about $|||, not $|.
[00:05]<suv9w9>Noone in #JS understands what I mean, so I'll ask here: does anyone know a trick to emulate the functionality of __autoload in JavaScript?
[00:05]<vxndnzvxzzv>znoG "[23:03] <cT-PHP> TheDeathArt: Parse error: parse error, unexpected T_BOOLEAN_OR, expecting T_VARIABLE or '$'"
[00:05]<vxndnzvxzzv>for using $|||
[00:05]<wjlllrws>znoG: Kill the creator!
[00:05]<tjufgg>znoG: That's highly invalid syntax.
[00:06]<tjufgg>Identifiers can only be made up of [A-Za-z][A-Za-z0-0\-]* in that order
[00:06]<tjufgg>0-9 rather
[00:06]<tjufgg>suv4x4: No
[00:06]<suv9w9>Touqen, that simple :)?
[00:07]<suv9w9>maybe I could analyze the source and see what classes it uses... yea..
[00:07]<egjg>Wolfpaws/TheDeathArt/Touqen: oops, looks like it was $lll, not $|||
[00:07]<egjg>which is, of course, OK syntax.
[00:07]<crlsj>Touqen: The array is two-dimensional... and the repeated values are of the same keys in the second dimension... how'd I use array_unique() or array_diff() there?
[00:07]<vxndnzvxzzv>znoG a copy paste of your $||| result in the error I posted also
[00:08]<vxndnzvxzzv>meh, wait :p
[00:08]<vxndnzvxzzv>what are those signs ? in $lll
[00:08]<wjlllrws>which is still a reason to kill the coder.... What the heck does $lll represents?!?
[00:08]<dzzznzdjusn>LoL
[00:08]<egjg>TheDeathArt: exactly, $lll are 3 lowercase L's
[00:08]<egjg>and I thought they were $||| (3 x pipes)
[00:08]<rddjguc>$ is a variable
[00:08]<vxndnzvxzzv>I don't got sherifs on my irc client :p
[00:08]<rddjguc>yay I know something
[00:09]<txnjzd>People who want to use $ as a variable should stick to perl
[00:09]<rddjguc>...oh
[00:09]<rddjguc>I thought it was a variable though
[00:09]<rddjguc>I read that php manual
[00:09]<dzzznzdjusn>Ye $ with something after it
[00:09]<vxndnzvxzzv>ok, think I figured out my problem now
[00:09]<`mran>Theory, ??
[00:09]<vxndnzvxzzv>then for the question
[00:10]<vxndnzvxzzv>do I always need to provide http://www.w3.org/2000/xmlns/ as namespaceURI for using the setAttributeNS ?
[00:10]<vxndnzvxzzv>(when using xmlns as namespace)
[00:10]<vxndnzvxzzv>and if yes, why the hell do I need to do that when it's predefined :S
[00:10]<crlsj>I have a two dimensional array... and I want to remove duplicate values for a certain key of the second dimension... how might I accomplish this?
[00:11]<suv9w9>Does anyone have any insight on this: using PHP to ease the management of JS classes and packages (like JS request a class over XMLHttp and PHP crawls the disk to find it.. or something)
[00:11]<vxndnzvxzzv>Capso php.net/array_unique and check the comments
[00:11]<tjufgg>TheDeathArt: Did you figure it out?
[00:11]<`mran>Capso, I'd use array_walk to check for a match on each key value
[00:12]<rrgn2r>anyone know of a way to get the username from an .htaccess login as a variable to php?
[00:12]<vxndnzvxzzv>Touqen only that php defined a namespace for 1 single purpose, to give a error if you're trying to redefine it
[00:12]<crlsj>`Mace: Any quick examples?
[00:13]<`mran>Capso, no
[00:13]<vxndnzvxzzv>Capso http://se2.php.net/manual/en/function.array-unique.php#61179 if you were to lazy ;)
[00:14]<crlsj>TheDeathArt: I saw the first comment...
[00:14]<crlsj>TheDeathArt: I think it's what I need (didn't go to your link yet, possibly it's the same one)...
[00:15]<mycnmu2>I need a robust site visit logging system. suggestions?
[00:15]<crlsj>mikedub: Recording to a DB
[00:15]<crlsj>?
[00:15]<ygccxyfm>hi Ay!
[00:15]<mycnmu2>thanks that's great.
[00:16]<ygccxyfm>quick question
[00:16]<ygccxyfm>(yes presdictable)
[00:16]<mycnmu2>anyone else who's not a smart-ass have any suggestions?
[00:16]<`mran>mikedub, consider sqlite
[00:16]<ygccxyfm>(yeah the typo was predictable too)
[00:16]<crlsj>mikedub: What?
[00:16]<`mran>It runs faster than mysql hence more suitable, similar syntax too
[00:16]<txnjzd>mikedub: log4net?
[00:16]<ygccxyfm>(i udnno what we are talking about but i always recomend sqlite)
[00:16]<crlsj>mikedub: I asked if you were logging to a DB...
[00:17]<mycnmu2>ah, i took that completely the wrong way
[00:17]<zxnzvnz>Capso: that's now how i got it tbh
[00:17]<crlsj>mikedub: My next question was, which DB do you use, if your answer to the previous question was "Yes".
[00:17]<mycnmu2>i thought you meant "record it to a db"
[00:17]<mycnmu2>period.
[00:17]<mycnmu2>my bad, long stressful day.







