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.48 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-15
Pages: < Prev
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
Next >
[23:19]<lsa-nzya>itrebal ... the first time though
[23:19]<yvzn2rf>hah
[23:19]<e0ee>he left just before being banned?
[23:20]<yvzn2rf>mostly just what he was doing up here, raping his enter key
[23:20]<lsa-nzya>lol
[23:21]<lsa-nzya>oh god... how typical.. now the damn thing isn't comming back online
[23:21]<yvzn2rf>gah, i added music to my music data base but it wont update
[23:21]<tjufgg>itrebal: heh
[23:21]<dzzznzdjusn>Liar :P
[23:21]<tjufgg>itrebal: You have a lot of marching band type music.
[23:21]<tjufgg>Are you a band geek?
[23:22]<yvzn2rf>Touqen: yea, yea i am
[23:22]<yvzn2rf>all about it, hard core :)
[23:22]<lsa-nzya>what did you play itrebal
[23:22]<xznvfrs99>Touqen it's from http://www.i-fubar.com/rotation-ad-script.php
[23:22]<yvzn2rf>psc-eric: i still play, Bassoon for concert and Tuba for marching band, i used to dabble in Clarinet
[23:22]<tjufgg>Interestingly enough, it takes a band geek to listen to band geeks
[23:22]<yvzn2rf>Touqen: yea it does, heh
[23:22]<tjufgg>hretlas44: I don't care. Why do you have that document.write in there?
[23:22]<lsa-nzya>wow .. a reed and brass player
[23:22]<lsa-nzya>trumpet here
[23:22]<lsa-nzya>core or military
[23:23]<yvzn2rf>i'm in school still
[23:23]<xznvfrs99>Touqen I had <? include_once("adverts.php"); echo "<div align='center'>$bannerAd</div>"; ?> made no difference
[23:23]<zl2rv>Easy question for you guys, I need to redirect based on the referring file. E.G. if the referring file is a.php I need to redirect to aa.php, if it is b.php then ba.php.
[23:24]<tjufgg>hretlas44: what do you get when you var_dump($bannerAd)?
[23:24]<zl2rv>I imagine you use somthing along these lines: $referrer = $_SERVER['HTTP_REFERRER'], but that gives me the whole address
[23:25]<tjufgg>rpbat: so get the last / and substr based on that to get the filename
[23:25]<zl2rv>I'll give it a shot, new at PHP. Thanks man
[23:25]<tjufgg>rpbat: php.net/strrpos should help you out
[23:26]<zl2rv>Thanks
[23:26]<dzzznzdjusn>would basename() work?
[23:28]<tjufgg>possibly
[23:29]<zl2rv>ahh you were speaking to me
[23:29]<zl2rv>I suppose it would
[23:30]<wjlllrws>yes... And take the hair with you.
[23:30]<e0ee>what are you choices, Touqen ?
[23:30]<e0ee>I mean what movies are out?
[23:30]<tjufgg>I want to go see A Scanner Darkly
[23:31]<e0ee>cool
[23:31]<e0ee>I'd love to see that
[23:31]<dzzznzdjusn>Maybe you could hook up :P
[23:31]<e0ee>I'm a huge p.k. dick fan
[23:31]<e0ee>well it's not out here yet
[23:31]<tjufgg>pulsing krookid?
[23:32]<e0ee>:)
[23:33]<e0ee>not sure Touqen , maybe I'm just feeling ashamed for *not* getting it
[23:33]<e0ee>;)
[23:34]<e0ee>after that "huge p.k. dick fan"
[23:34]<tjufgg>16:30:10 < r0rz> I'm a huge p[ulsking].k[rookid]. dick fan
[23:34]<e0ee>ohh I see
[23:35]<tjufgg>Yea. It was awful.
[23:35]<e0ee>I was flying higher, I must confess
[23:35]<e0ee>looking for some sort of literary quote
[23:35]<yvzn2rf>Touqen: yea, that was pretty bad, but someone funny :)
[23:35]<tjufgg>Nope. Just straight potty humor.
[23:35]<e0ee>lol
[23:36]<e0ee>I like it with 2 u's
[23:36]<yvzn2rf>humour? </brittish>
[23:36]<e0ee>but english is not my first language
[23:37]<tjufgg>itrebal: yea
[23:37]<e0ee>well I hope not "huumor"
[23:37]<[wv]>okay i am a bit of a php novice. if i want a function to return an array what do i do
[23:37]<tjufgg>humoru
[23:37]<tjufgg>uhumor
[23:38]<e0ee>return array();
[23:38]<tjufgg>humuor
[23:38]<yvzn2rf>[xt]: function foo () { return array(); }
[23:38]<[wv]>you are allowed to ?
[23:38]<tjufgg>[xt]: yes
[23:38]<yvzn2rf>sure?
[23:38]<e0ee>sure
[23:39]<tjufgg>function foo() { $blah = array(); $return blah; } also quite valid
[23:39]<kyddja>PHP function to strip any newlines?
[23:39]<tjufgg>KimmoA: ...
[23:39]<e0ee>unless you want to put something in that array
[23:39]<kyddja>Touqen: ...
[23:39]<tjufgg>You've been here long enough to know to go look at the freaking manual.
[23:39]<yvzn2rf>KimmoA: and if you cant find one, look at one of the string replacement functions </hint>
[23:40]<wjlllrws>Touqen: he has to reask each time. Bad memory and that, ya know?
[23:40]<kyddja>I didn't find it. That's why I ask.
[23:40]<tjufgg>Drew Barrymore from 50 first dates?
[23:40]<tjufgg>Only excuse he could possibly have.
[23:40]<kyddja>And duh... I could write my own, but it feels as if PHP would have this built-in.
[23:41]<tjufgg>Either he's Drew B. or Memento!
[23:41]<kyddja>Since PHP has a function for almost everything.
[23:41]<yvzn2rf>it doesnt have a scratch_ass() function
[23:41]<e0ee>lol
[23:41]<yvzn2rf>a disapointment, if anything else
[23:41]<gydl_>itrebal: mine does!
[23:41]<xrwcrfjjryn>darn, that was my question...
[23:41]<zmv>hi, i'm trying to compile PHP5 with libxslt on RHEL3 ... the development package is installed, bu the linker is getting all these undefined reference errors. is this a known problem with PHP5?
[23:41]<yvzn2rf>Gimp_: hell! can i have a copy?!
[23:42]<kyddja>So there is no such function that I forgot about and missed while scanning the string funcs?
[23:42]<yvzn2rf>hawkaloogie: :D
[23:42]<tjufgg>KimmoA: If you didn't see it it doesn't exist.
[23:42]<xrwcrfjjryn>KimmoA, yes
[23:42]<kyddja>I see.
[23:42]<gydl_>function scratch_ass($userAss) { while (is_itchy($userAss)) { scratch($userAss) } return true; }
[23:42]<tjufgg>Or your blind. Haven't quite decided which is valid though.







