@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 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



Comments:

<0> punkstar: if I get to read your html source, that wont be friendly for mr
<1> Um... er... no... Why do you want to leave ><'s?
<2> yo
<0> but perhaps that's your goal
<2> quick question, anyone know of any good web applications that can monitor a MySQL farm ?
<1> ken__: #mysql
<2> like, quick statistic info, slow query log, bytes in/out ... that sort of thing ?
<0> I wonder what you want punkstar
<3> hi
<2> Stormchaser: heh -- sorry there
<4> right, if I have <html> \nl\nl <body>, i want to remove all the whitespace and then leave <html><body>
<4> toggg: what makes you think its for html source?
<5> punkstar - hmm, are you doing it so mozilla won't have whitespace in the dom?
<1> punkstar: str_replace, then
<0> <4> how can I get all html onto one line?
<4> str_replace what?



<4> haha, that would be one reason.
<0> am I bloody punkstar ?
<0> no, not you , Stormchaser !
<6> Any ideas what to use to check whether an email is valid? I mean whether trash wasn't entered, but a normal e-mail address.
<4> its for xml, i am compressing a huge file
<4> there is loads of whitespace.. lol. I want it to stay within the tags, but I dont want space between the tags
<0> you said html, I read html , punkstar
<4> right toggg, its not html. You read that?
<1> punkstar: Do you want to clean up whitespace or new lines?
<0> your puerile remark is shir
<4> both
<0> lol
<4> i mixed up some regex, but regex is evil.. and I am terrible
<0> my question back was too above, sorry, punkstar
<1> $str = preg_replace('#\s#', $str);
<4> cheers.
<5> punkstar - you're dealing with some tricky stuff, for example <img />\n<img /> might require a space for your layout to work
<0> you can't imagine yet , punkstar , too young :)
<4> xxxxxxxxxxmmmmmmmmmmmmmmmmmllllllllllllllllll
<0> stop that
<1> zeasier: usually it doesn't
<4> toggg: what?
<0> you want to learn me xml , punkstar ?
<5> well another example is i often will put cancel and accept form buttons next to each other separated by a newline
<5> if the newline was removed they would apear next to each other instead of a space apart
<7> Stormchaser: Erm
<4> toggg: your taking shots at me for what reason?
<7> Stormchaser: You...forgot an argument to preg_replace
<0> you too agressive
<1> TML: Erf... Yes... My bad :/
<4> Stormchaser: cheers for the evil regex.
<1> that's not evil :)
<4> One problem with it though.. <item>I want to keep the whitespace here</item>
<0> no evil regexp, you need to know what you do
<4> The whitespace is getting clipped there.
<3> anyone has any idea how long would it take to do array_merge() on 2 arrays, both with 100K elements, then do array_unique() on the merged array with 200K elements?
<4> Joe7: try it out.
<1> punkstar: You should state that before, tho :)
<5> punkstar - you could try exchanging part you don't want white space removed with a placeholder
<4> i did, ;), just after porkpie joined.
<8> Hello, i'm getting the error: Duplicate entry '0' for key 1 And my code is: http://nopaste.php-q.net/190237
<5> punkstar - then replacing them after the document is cleaned
<8> And i don't have any unique key columns...
<0> and if it's a problem, punkstar , I can be kicked anytime , I trust operators here
<4> toggg: dude, wtf are you on about?
<9> you shouldnt! theyre evil!
<7> :P
<1> NiGHTFiRE: You're inserting duplicate entries in the filed with primary key
<9> :)
<7> jager: :)
<9> <3
<8> The only field with primary is user_id and i'm not inserting any thing there..
<0> I dislike punks since I was some ( "we want the world and he want it *now* ) punkstar
<0> s/he/we/
<10> TML: do you know if 31r1 can resort back to apache 1.3x ?
<1> $crypt = md5('$_POST[new_p***word]'); <-- Ahhh... Gotta love newbies :)
<7> Jymmm: Sure
<7> Jymmm: It's called "apache"
<8> of course ;)
<8> I'm quite loved then
<4> toggg: a bit sterotypical arent we? discriminative?



<1> why are you uding single quotes?
<7> Jymmm: But I'm telling you, take your configs for 1.3.x and put them in 2.0.x, they should all be the same
<8> A guy said i should do it like that :s
<9> you dont need quotes
<1> NiGHTFiRE: You're allowed to shoot him in my name
<9> its a variable :|
<8> I see.
<3> punkstar: thanks :>
<11> Or even 2.2.x
<6> Any ideas what to use to check whether an email is valid? I mean whether trash wasn't entered, but a normal e-mail address.
<0> no, punkstar , I was not on your nick but the way you answer after having asked
<4> np :)
<9> preg_match
<9> :)
<12> Jymmm, i might be joining in the middle of the convo, but afaik, apache2 dosen't use the same config file as before
<12> httpd.config is empty in apache2
<4> For anyone that was interested.. preg_replace('/>[\\s]*</','><',$list);
<10> TML Well 1.3 is history doesn't exist anymore. and I tried my reWrite on my vhost and it works as needed. But you were starting to explain the /var/www/home last night
<11> It ships with a structure that's different, but you can still stick stuff in httpd.conf
<0> lol punkstar
<0> you have no idea
<1> they killed apache 1.3?
<11> Stormchaser: No, just Jymmm.
<1> ah :)
<8> I still get the same error.
<11> He's mean that way.
<13> any of you actually use the __autoload function to load cl*** libraries?
<4> toggg: ?
<10> mattmcc hey, YOU'RE the one that said you didn't take the blue pill, not me.
<4> toggg: how old are you dude?
<0> 49
<9> wow, get a hobby
<0> I code since 35 years
<9> uhuh
<0> punkstar: I don't like you
<1> toggg: ...
<4> Haha, i dont like you either. The feeling is mutual.
<8> Stormchaser: I took the single quotes away but i still get the same error :S
<0> your regexp is only ****
<4> your the first wanker I have met in here :)
<10> TML What I dont understand is why moduser is pointing to /var/www/home (HOME doesn't exist for one) when the real path should be /home/*/public_html
<1> That's enough
<9> lol
<4> Dude, i got slated the minute I entered.
<10> TML Looks like a bug to me
<14> Jymmm: I
<14> oops
<15> Jymmm maybe because you didnt configure it?
<14> Jymmm: I'm sure you're not to pretty to TML either
<15> at least what it looks like
<1> NiGHTFiRE: Your problem is your SQL. Fix it.
<15> Stormchaser why did you ban toggg ?
<15> hes a guy from php.net
<8> Stormchaser: Well i'm using phpbb's sql...
<9> phpbb doesnt have an sql
<8> Lol.p
<8> I mean their configuration* I'm using their system, now i'm only creating so people can register on the site and at the same time be registered at the forum.
<16> what would i use to strip "\r" or "\n" out of a string?
<14> Drakas: he wasn't banned, he was muted
<1> Drakas: HE's probably one of the rarest people around here, that don't know their limit...
<14> Drakas: and it looks to me like he was being annoying
<10> Drakas I'm using some rewrite rules that redirect everything back to index.php, but instead of redirectign to /home/*/public_html/index.php it's look for it in /var/www/home
<8> I only added 3 more columns, fname, lname and mobil_nr but they woudn't make such error
<17> nihaopaul: str_replace if you want to take them away from the string and trim for just the ends.
<9> nihaopaul, http://us2.php.net/preg_replace
<16> thanks guys
<14> Stormchaser: you might as well remove it now that he's left...
<14> Stormchaser: unless he's a recurring problem...
<1> AcidReign: well... He's PM-ing me not to forget to remove his ban, so...
<1> AcidReign: Yes, he's recurringly annoying :)
<14> heh
<1> ew.
<14> ah well, I'm going to play age of titans now


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#osdev
yum-fedorafaq
#math
#physics
beccabedell
#javascript
#perl
#python
a sequence of rationals converging to x
reemerge xorg command



Home  |  disclaimer  |  contact  |  submit quotes