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: 1951.74 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-17
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
Next >
[00:00]<rrppygrvnm>i swear, people get lazier by the second
[00:00]<mjjfs>caffinated: blow me
[00:00]<rrppygrvnm>I bet tomorrow we'll get requests for a function that adds two numbers together and returns a result
[00:00]<rrppygrvnm>dools: sure
[00:00]<svjzdzxzsnz>:)
[00:01]<dczupcd>ooh... i always tune in for the best parts of the conversation
[00:01]<jufyzg|wjzc>The non-PHP part?
[00:01]<dczupcd>lol
[00:01]<svjzdzxzsnz>caffinated: Aw... Thought you'd throw him out...
[00:01]<rrppygrvnm>probably the last part
[00:01]<rrppygrvnm>Stormchaser: nah, i almost never do that anymore :)
[00:01]<rrppygrvnm>Stormchaser: I think this is far more irritating for them
[00:01]<svjzdzxzsnz>caffinated: oh :)
[00:02]<rf2j>can i return from an include using return ?
[00:02]<rrppygrvnm>Stormchaser: besides, after a little while they almost inevitably leave on their own
[00:02]<rdacdqoq7n>albo: return from an include??
[00:02]<rrppygrvnm>albo: if it's at the top level, i believe so.
[00:03]<dczupcd>ban without a kick will just prevent them from talking?
[00:03]<rdacdqoq7n>interesting.
[00:03]<svjzdzxzsnz>caffinated: Or they find some other host, came back and bitch.
[00:03]<rrppygrvnm>Stormchaser: *shrug*
[00:04]<kggdrg_>why not just stay op'd?
[00:04]<svjzdzxzsnz>because frenode's policy
[00:04]<rrppygrvnm>Elviso: it serves no purpose.
[00:05]<efvysj>save you time having to op/deop
[00:05]<rrppygrvnm>other to intimidate, which we don't really need to do.
[00:05]<rdacdqoq7n>Elviso: think undercover cop :-D
[00:05]<efvysj>policy? can you only have X ops or something?
[00:05]<rrppygrvnm>Elviso: it's freenode's policy that people not idle with ops
[00:06]<rrppygrvnm>Elviso: you can read about it at: http://freenode.com
[00:06]<nnzzpznn>thanks caf i figured it out! :)
[00:06]<rrppygrvnm>ezrafree: cool
[00:06]<efvysj>really? I see. I know people that do idle w/op, but it's in smaller channels
[00:07]<rrppygrvnm>Elviso: i don't believe it's strongly enforced. but their reasoning makes sense, so we follow it.
[00:08]<rrppygrvnm>Elviso: think about it. where would you rather be? a place where everyone at least appears to be on equal footing? or somewhere where 30 people are sitting at the top of the list for no other reason than to advertise that they have power in the channel?
[00:09]<rdrd_>is =. legal in PHP?
[00:09]<rrppygrvnm>i think you want .=
[00:09]<efvysj>caffinated: it really doesn't matter to me. I would actually prefer to know who the ops are, so that I would know who probably *knew* their shit better, and also to know who NOT to piss off :)
[00:09]<rrppygrvnm>=. would not be legal
[00:09]<rdrd_>I want to add on to the end of the string
[00:09]<rdrd_>Oka
[00:09]<rrppygrvnm>Elviso: well, that is public information for those who care to query chanserv for it
[00:09]<rdrd_>I'll just use $string = $string + "newtext"; That's legal right?
[00:10]<rrppygrvnm>Adam_: no
[00:10]<rdrd_>Sorry I said that wrong
[00:10]<rrppygrvnm>Adam_: '+' is a math operator in php. you want '.'
[00:10]<efvysj>caffinated: every other system of authority I deal with, both in real life and virtual, plainly distinguishes those in charge....thus, it doesn't intimidate me at all.
[00:10]<rdrd_>I want to add onto the beginning of the string
[00:10]<rdrd_>So it would be $string = "new stuff".$string; right?
[00:11]<rrppygrvnm>Elviso: then again, the system is not really about you. it's about the general population.
[00:11]<rrppygrvnm>Adam_: that would work
[00:11]<sgjzu>I'm echoing out a MySQL table via while ($row = mysql_fetch_array($result)) into an HTML table, and I want to know how I could output an incrementing number (1, 2, 3, etc.) for each table row within the first <td> of every <tr>. Any suggestions?
[00:11]<rrppygrvnm>anyhow, you asked why, that is why :)
[00:11]<rrppygrvnm>there is always an op here
[00:12]<rrppygrvnm>that's all you really need to know
[00:12]<efvysj>thanks for the information. I've come to recognize most of the ops (I think) by now.
[00:12]<rrdrdr>uh-huh
[00:12]<rrdrdr>sure you do
[00:13]<fyrusffrgnv>Is there a maximum length for array keys?
[00:13]<svjzdzxzsnz>no
[00:13]<efvysj>lol...well, probably not :p but at least some.
[00:13]<frrrj>Snoru: just have $counter=1; outside the loop. Call $counter in the td. Eg <td <?=$counter;?>> then do $counter++; at the end of each loop increment
[00:13]<svjzdzxzsnz>Elviso: s/some/few
[00:13]<frrrj>Snoru: you probably want <td id="<?=$counter;?>"> in fact
[00:13]<dugygg>hi, if i make a .htaccess with "RewriteRule .* /index.php
[00:14]<svjzdzxzsnz>#apache
[00:14]<dugygg>how can i access the path the user typed in?
[00:14]<dugygg>;-(
[00:14]<kjr>sup Stormchaser
[00:14]<xmlxjym>the freenode op policy is very nice, emphasising the technical nature of ops. I've seen groups of real life friends end up having serious fights over irc channel ops because people kick for fun etc.
[00:14]<svjzdzxzsnz>woof, Kog.
[00:15]<kjr>Stormchaser: ended up getting my RSS parser done... it's a cheap hack, but exactly what the guy needed
[00:15]<kjr>Stormchaser: it takes a URLEncoded email as a GET param, does the lookup and generates the RSS via building one long ass $xml var ;)
[00:15]<kjr>Stormchaser: no caching, no reuse
[00:15]<svjzdzxzsnz>Kog: Heh... I haven't even started mine... Too busy with my comic :)
[00:15]<kjr>cominc you say?
[00:16]<svjzdzxzsnz>no, I said comic
[00:16]<tml>Stormchaser: Mind a bit of (hopefully constructive) criticism?
[00:17]<svjzdzxzsnz>TML: sure :)
[00:17]<kjr>Stormchaser: ... I meant comic damnit
[00:17]<svjzdzxzsnz>Kog: It's not what you said :)
[00:17]<kjr>yeah yeah...
[00:17]<tml>Stormchaser: Your dialog (what I've seen thus far) seems a bit stiff/stilted
[00:17]<sgjzu>What would make $counter=1 increase? Is that not just setting the variable $counter to 1?
[00:18]<svjzdzxzsnz>TML: What do you suggest?
[00:18]<tml>Remember that they need to talk like people in order for people to identify to them
[00:18]<tml>Stormchaser: Getting someone else to read it aloud always helps me
[00:18]<ddq000>Snoru: $counter++; increases it. just echo the counter each loop.
[00:18]<frrrj>Snoru, $counter++; will make the counter increase
[00:18]<tml>As would $counter+=1
[00:19]<ajgne>as would ++$counter
[00:19]<ajgne>or is that not valid in php?
[00:19]<ddq000>or $counter = $counter + 1;
[00:19]<tml>jonez: That's valid
[00:19]<ajgne>ok
[00:19]<tml>$counter = $counter++;
[00:19]<efvysj>#php needs a wiki (don't ask why, I just like wiki's)
[00:20]<sgjzu>Ah, I see. Let me try that.
[00:20]<frrrj>or $counter = $counter - ((100*67)- 6701));
[00:20]<frrrj>:-|







