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.66 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 >
[03:47]<zjw>while keeping all the stuff in tact around it
[03:48]<zjw>I basicly need contents of style= and width= and rest thats around it + contents inside the tags.
[03:48]<zjw>and the value can or can not be wraped in "es
[03:48]<zjw>bollocks I should of wraped in pre tags
[03:49]<zjw>%\[col(\s+.*)(?:width=(?:"(.+)"|(.+))(\s+.*)style="(.*)"|style="(.*)"(\s+.*)(?:width=(?:"(.+)"|(.+))))(?=(\s+.*)|\])\](.+)\[/col\]%isU
[03:49]<zjw>thats the correct regexp
[03:49]<sajvvm_>Anyone have any little jobs they need done? Looking to get a few bucks into PayPal to make some purchases.
[03:49]<rrl>ok, who was the one who said that a program for reverse engineering from PHP to UML would be fast to find?
[03:49]<svjzdzxzsnz>woof
[03:49]<rrl>well, it isn't!
[03:50]<rrl>it doesn't exist (i think)
[03:50]<rrl>so all people who are looking for it, i don't think you will find it, but hey, thanks a lot! :p
[03:51]<svjzdzxzsnz>!tell ScottM_ about jobs
[03:51]<rrl>maybe i should start searching with Ad Valvas or Hotbot :s
[03:52]<svjzdzxzsnz>hotbot still exists?!?
[03:52]<rrl>lol i don't know
[03:52]<zjw>!tell row about jobs
[03:52]<zjw>lol
[03:52]<svjzdzxzsnz>rawr
[03:52]<mnfvyz>row: im not sure what to tell you. i usually break down a regex that big if it doesnt work, and check the portions of them in testcases
[03:52]<svjzdzxzsnz>!+msg the bot
[03:52]<lxl-2jv>Unless you're a ##PHP channel operator, please speak to the bot in private.
[03:52]<rrl>http://www.hotbot.com/ yes
[03:52]<slnavyn>how do i tell the xml parser to call a function on error ?
[03:52]<zjw>Stormchaser: sorry
[03:53]<slnavyn>i can see element_handler and cdata_handler
[03:53]<slnavyn>but no error_handler
[03:53]<rrl>!tell Aap about jobs
[03:53]<svjzdzxzsnz>rawr
[03:53]<zjw>LOL
[03:54]<rrl>hey man, sorry
[03:54]<svjzdzxzsnz>!+sorry
[03:54]<lxl-2jv>Don't be sorry, just don't do it.
[03:54]<rrl>lol
[03:54]<rrl>ok
[03:54]<zjw>is there any app that can break down and point issues with regexps that free for use?
[03:54]<rrl>well, i wasn't really sorry
[03:54]<rrl>:p
[03:54]<zjw>or shove code at it to test etc
[03:55]<mnfvyz>row: i just split the blocks apart ()
[03:55]<svjzdzxzsnz>damn... That was wrong :(
[03:55]<rrl>Stormchaser, can you let the bot tell row about google?
[03:55]<a2lzjs>row: I'm using regexbuddy (which is not free) and I find it really efficient
[03:55]<mnfvyz>dunno if it can be done by hand. txt2regex proves usefull sometimes.
[03:55]<mnfvyz>*not by hand
[03:55]<svjzdzxzsnz>!tell row about fgi
[03:56]<zjw>jbpros: its you again.
[03:56]<zjw>I learnt fair bit from your regexp btw, ta very much.
[03:56]<a2lzjs>row: ha yes and it's you again :)
[03:56]<zjw>just slightly screwed it up here
[03:56]<a2lzjs>I'm glad it helped
[03:56]<rrl>lol @ row
[03:57]<a2lzjs>row: regexbuddy is the only non OSS I'm using and it's really great.
[03:57]<a2lzjs>row: I don't regret buying it
[03:58]<slnavyn>yaergh
[03:58]<zjw>tempted to read this o'reilly book on regexp
[03:58]<slnavyn>why the hell won't the parser even start
[03:58]<a2lzjs>row: that's a nice idea
[03:58]<zjw>but a whole book just for regexp!
[03:59]<zjw>very handy to know it tho.
[03:59]<svjzdzxzsnz>row: Are you using linux/ KDE?
[04:00]<a2lzjs>well regexes are complex. it deserves a book!
[04:00]<zjw>Stormchaser: I am using windex for phpedit and debian for everything else so yeah.
[04:01]<svjzdzxzsnz>row: sudo apt-get install kregexpeditor
[04:01]<rrl>Stormchaser: is there another PHP channel?
[04:01]<zjw>ooo cheers storm
[04:01]<a2lzjs>kregexpeditor is not bad but it is limited
[04:01]<a2lzjs>don't exepect to play with look arounds, for example
[04:02]<zjw>oh
[04:02]<a2lzjs>you do, yes ;)
[04:02]<a2lzjs>regexbuddy supports about everything
[04:02]<svjzdzxzsnz>Aap: Not that I know of... Why?
[04:02]<zjw>jbpros: are you trying to tell me you spotted my error?
[04:03]<rrl>i want to ask my question on another channel (the reverse engineering tool)
[04:03]<a2lzjs>row: no, I have not the regex in front of my eyes
[04:03]<zjw>+'
[04:04]<zjw>maybe if I get some sleep I will spot the error.
[04:04]<a2lzjs>what's the problem?
[04:04]<zjw>its capturing part of the next tag set along
[04:04]<zjw>its really odd
[04:04]<a2lzjs>did you modify the one I gave you?
[04:04]<zjw>nope
[04:05]<zjw>new regexp
[04:05]<a2lzjs>oh okay
[04:05]<zjw>not for same thing
[04:05]<zjw>this is for a preparser
[04:05]<pdznpfdq99q>once an xml document is parsed in php does it create some type of object data set where I can read the values?
[04:05]<pdznpfdq99q>I need something really simple
[04:06]<a2lzjs>row: I'm currently working on my stuffs. but you can ask me again later if I'm in here :)
[04:07]<zjw>jbpros: no problem I am going to get some sleep its late anyway and I will see if I can fix it in the morning, I did the other stuff fine so I hope I can fix this, if need be I will have to read up on it :/
[04:07]<duzznz>I know this isn't exactly on topic but is there any reason NOT to use divs for displaying information out of a database? like listings/member listing or whatever
[04:08]<gyaxjs>hi all, im trying to set up php5 w/apache 2.2 on windows. I keep getting "cannot load c:/php/php5apache2.dll into server: module could not be found" when i try to start apache, any ideas? Ive searched everything w/no luck
[04:08]<a2lzjs>row: if you have some money to spend, go for regexbuddy, you will learn ways faster :)
[04:08]<zjw>I am on a really tight budget atm :(
[04:08]<zjw>anyways night.
[04:08]<a2lzjs>row: sleep well!
[04:13]<azf>Why does explode(":", "") return Array("")?
[04:15]<pdznpfdq99q>nichos, you probably need to edit your apache config file to include the php module
[04:15]<mjgcnd_2>GD question... I am resizing images to thumbnails... im giving them a maxwidth, and a maxheight, however, i want my thumbnails to be 96x71 pixels wide, regardless of whether the image is proportionate to that size... so my question is... if I were to resize a thumb to say '40x71'... could I somehow add white around the image, so that it becomes 96x71?







