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: 1822.68 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-11
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
41
42
43
44
45
46
47
Next >
[07:50]<eyzau>hmmm.. jymmm infectd the place with the bird flu
[07:51]<eyzau>kudos to jymmm :)
[07:52]<vj2djjw>where should i go to get help with php stuff?
[07:54]<gnzzd>tobmoox, the php manual
[07:55]<djjsnd>geezus 5000 lines of code 4900 syntax checking scrip code 100 lines lol
[07:55]<djjsnd>but my shit is SA-KURE
[07:56]<djjsnd>until tommorow when a new exploit is found
[07:56]<eyzau>tobmoox: as Gerry suggested, the first place should be php.net/manual
[07:56]<djjsnd>lig please lick not chew your cream
[07:57]<djjsnd>have your gf educate you
[07:57]<fyr>moosey: sensitive teeth - can't chew...
[07:57]<fyr>and my husband would love me having a gf
[07:58]<fyr>to educate me
[07:58]<djjsnd>lol
[07:58]<fyr>;)
[07:59]<eyzau>hmmm.... droool...
[08:00]<fyr>lol
[08:01]<djjsnd>reading your blog
[08:01]<fyr>?
[08:01]<gnzzd><lig> and my husband would love me having a gf <----- Gerry loves that sentence.
[08:01]<fyr>hehe sad part is he would too
[08:02]<gnzzd>That's no reflection on you.
[08:02]<djjsnd>your blog needs pics of you and your travels
[08:02]<gnzzd>If it were possible he would probably want your gf to be a clone of you.
[08:02]<czdwjpp>incest
[08:03]<gnzzd>heh
[08:03]<fyr>understood - lol
[08:03]<zufn>Marilyn Monroe clone all the way.
[08:03]<fyr>moosey: my blog?
[08:03]<djjsnd>yes
[08:03]<fyr>follow the photogallery link
[08:03]<gnzzd>Yeah or Jessica Alba
[08:03]<fyr>there are plenty of pics
[08:03]<rjrunjnmy>All this talk of a blog and yet no one has put up a link -_-
[08:04]<gnzzd>^agreed
[08:04]<fyr>http://khankennels.com/blog/
[08:04]<rjrunjnmy>Much better
[08:04]<fyr>moosey: photos - http://www.khankennels.com/gallery/
[08:04]<djjsnd>holy pics
[08:05]<fyr>need to put up some of the newer dive pics - been lazy
[08:06]<djjsnd>what breed is mixed in with that shepard?
[08:06]<mfjgn>$template = preg_replace("/\\<if error_message\\>(.*?)\\<\\/if error_message\\>/s", ($message != "") ? "\\1", $template);
[08:06]<mfjgn>i don
[08:06]<fyr>akita - and he is a belgian malinios
[08:06]<mfjgn>i don't know what to put in the replaced value
[08:07]<djjsnd>back legs look like a deer lol
[08:07]<gnzzd>The pics from China are very cool
[08:08]<mfjgn>could anyone give me a help please? :)
[08:08]<fyr>Thanks Gerry - will be adding australia this summer
[08:08]<gnzzd>=D Perth?
[08:08]<fyr>Cairne
[08:08]<gnzzd>or Sydney :(
[08:08]<fyr>think that is how you spell it
[08:09]<gnzzd>close enough
[08:10]<gnzzd>dlon9, this will help you with your regexps: http://www.anthd.com/rithiur/php/regex.php
[08:11]<jddddd>!+mre
[08:11]<lxl-2jv>[MRE] 'Meal, Ready to Eat' used by the military in the field and others during a disaster as they have a long shelf life. But you probably wanted 'MRE - Mastering Regular Expressions' the bible of regex http://www.oreilly.com/catalog/regex2/ Use this utility for learning/understanding/troubleshooting your RegEx --> http://www.weitz.de/regex-coach/
[08:11]<mfjgn>can i put if into the preg_replace?
[08:11]<fyr>still need to get that book...
[08:12]<gnzzd>dlon9, no
[08:12]<mfjgn>then can i use if in eval?
[08:13]<zufn>!tell dlon9 about eval
[08:13]<gnzzd>Ehh, who needs a book when you have the net. Especially on a topic such as regexps
[08:13]<fyr>regex kicks my butt every time... thank god for regex coach
[08:13]<zufn>Personally, I'd just make it using preg_replace_callback. Very pretty.
[08:13]<zufn>I love Regex <3
[08:13]<zufn>Possibly because of the perl background but hey..
[08:14]<ajmnzrnnc9q>Zule: agreed. regexs are so incredibly useful it's not even funny :)
[08:14]<fyr>perl kicked my butt to - serious mentality shift
[08:14]<gnzzd>I hate Perl, but love it for bringing us regexps.
[08:14]<ajmnzrnnc9q>(as the saying goes...)
[08:14]<zufn>I hate perl these days too :(
[08:14]<zufn>It's still good for some really dirty scripts :)
[08:15]<gnzzd>Great for parsing text files fast.
[08:15]<zufn>So true \o/
[08:15]<gnzzd>So thank god I use a database. =D
[08:15]<zufn>Reminds me of a time I was converting a website from html to something a bit nicer. So I used a messy bunch of perl to extract everything I wanted <3
[08:17]<fyr>can an object have a variable property? Ex: $this->$var
[08:17]<zufn>Err?
[08:18]<zufn>Are you meaning if you have a variable 'var' within your class/object?
[08:18]<fyr>I'm trying to read a multi-dim array in an object
[08:18]<fyr>the $var is the depth of the array
[08:18]<fyr>built dynamically
[08:18]<zufn>$this->var ?
[08:20]<fyr>$this->var[] or $this->var[][] or $this -> var[][][] - the depth is built dynamically and held in a var
[08:21]<fyr>hold on - let me pastebin it
[08:21]<gnzzd>lig: what is the root problem that you are trying to solve?
[08:21]<zufn>:)
[08:21]<fyr>maybe I'm just thinking too hard
[08:21]<gnzzd>ahh yes pastebin it
[08:21]<zufn>It's possible :)
[08:22]<fyr>I am reading a config file and it can be multiple layers deep... it is loading into a multi-dim array in the object.. I am trying to get it back out - http://pastebin.com/710843
[08:22]<mfjgn>eval("if (\$message != '') \"\\\\1\";") <- do not output anything
[08:23]<fyr>sorry - didn't fix the indents on the code
[08:24]<fyr>now the arg list prints fine and the $depth as well - but it throws an error at the return saying it can't find the value
[08:24]<zufn>You'd just use $depth... wouldn't you?
[08:24]<fyr>yeah
[08:25]<zufn>Why $this->$depth?
[08:25]<fyr>because the depth is variable depending upon the number of args passed to the function
[08:25]<fyr>it builds the settings[][] part







