| |
| |
| |
|
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
Comments:
<0> idigital: whats your question? <1> i need to take one image tag from a string, remove it and then use it <1> i should probably check the manual yah ;) <0> specify what you mean by image tag <0> what exactly from it do you want? or just the entire image tag <2> itrebal: Thanks, thanks! =) <1> yup the entire tag <0> you want to replace it with something? <0> Erha: yup <1> just "" <0> so... stripping any images <1> and then keep it to use afterwards <0> do you know regex? <1> nah that's the problem, heh <1> so i just need to find it, keep result, and replace it with nothing <0> you could... preg_match('/<img(.*?)>/', $string, $matches); and then print_r($matches) and go from there
<1> ta <0> and then use, preg_replace('/<img(.*?)>/', ''); <3> or preg_replace <0> Coeus82: he needs to replace it with nothing - but still keeping the tag in a variable, from what i've understood <1> yah that did it, my regex was wrong ;) <0> what was it? <1> thanks <0> yup <4> w00t <0> hm? <4> got my mustang fix :p <4> lol <5> what's funny about that <0> nicd <4> havent been able to drive it much because of the weather <0> ah <4> so it's nice to finally be able to for once <4> although, sometimes, i could go for a sedan of sorts <0> hehe <4> shifting is a pain, and the ride... is far from smooth <0> 2 days ago - it was 80 <4> nice <4> 2 days ago it was -30c here :P <0> yea.... <0> i wish it would get cold here <4> -30? <4> uhm no :P <4> thats not cool man <0> cold*er* <4> i went out for a walk to the corner store, my freakin eyebrows frosted up <0> hehe <0> i went out for a walk to the corner store, and i came back and was dripping sweat <4> :P <4> i should go to the liq store and get some beer or something <0> i like how linspire basicly steals Apple's webdesign <6> jiggster, I'm about to break out the bacardi and coke down here. <4> mmm i'll join you then xiuan <0> xiuan: way ahead of you <4> itrebal: i like how i dont care :P <6> cheers! everyone :) <4> i have some beer in the fridge, but... i dont really care for it <4> it's a dark blend <4> too dark for my taste <6> jiggster, new castle is the only dark blend I will drink <4> i'm spending too much tho :x <4> i need to go shopping and get some important things like a new hard drive and some ram <4> lol <4> or clothes :P <6> jiggster, other than that it's either bud(light|weiser), but I have quit drinking beer due to beer belly, so for the next few months its hard liqur only. <6> lol :P <4> xiuan: heh, i have a six pack :P so i'm not worried yet <4> stomach six pack :P <0> who the hell needs 10 ipods..? <4> who the hell has 10 ipods? <6> itrebal, someone who breaks their ipod every day, and then finally on the 10th one learns -- not to break it. <4> lol <0> http://www.apple.com/itunes/1billion/ grand prize: 20 inch monitor, 10 60 gig ipods, 5 white, 5 black, an $10,000 for the itunes music store <4> DAMNN <4> lol
<4> hell i could ebay 9 ipods :P <0> hehe <4> their 20 inch screen is... damn... so nice <0> my english teacher has 2 of their largest <5> well, after the One U.S. $10,000 iTunes Music Card, i'm sure you could use 10 ipods <4> dont even talk like that to me :P <0> its......... droolworthyx10 <4> shh! i dont want to know! <0> syf: not so, i have 10,000 songs on my 60 gig ipod, and its not even half full, and you could only get 10,000 songs from itunes with the card <4> i need a USB hub actually <4> my printer... is plugged into my keyboard. <0> jiggster: haha so is mine <4> i have a 60 gb ipod photo <6> you can plug a printer into a keyboard??? <6> wow... <4> xiuan: yeah :\ <0> jiggster: likewise, the thick one? that was never made a case :( ? <6> What kind of keyboards do you guys have. <4> lol, i have a usb external hd, and then the keyboard <0> xiuan: apple keyboards <6> oh. <4> my mac mini only has two usb ports in it <4> so... yeah i'm at a loss for options <4> two more in the keyboard... so four, not a lot <4> one firewire 400 <4> but then again i have a powerbook, lol so ... yeah all in all i have way too much technology <0> jiggster: i dont have a mac, but i want one, but i have 3 apple keyboards that i'm using in series for my USB hub <6> I'm actually thinking of getting an apple notebook, any recommendations of why I should over like a dell or something. <4> yeah the apple keyboards rule <0> xiuan: because dell ****s? <4> the new apple mouse is damn nice too <0> jiggster: i dont even use the keyboards :) <7> can anyone suggest a good ide/editor for linux? <0> but they wrk <4> Jymmm, my old pc mouse and keyboard are going on 7 years <0> dgrant: Emacs <4> i loved my pc mouse :\ <4> the ball in it though is finally detiorating <7> itrebal: I want something that I can hit a keystroke and have it run the script in cli. I know emacs can do that but I need something easier <5> xiuan, i'd get a vaio fs92 over the dell <7> itrebal: something like komodo but free <8> somebody is actually recommending a sony? <8> wow <9> ds- sad, aint it <4> sony's are cool <4> :P <4> lol <8> heh, too each their own I suppose <9> IBM, Toshiba, or Fujitsu for laptops <4> i'd never get one tho <4> Jymmm yeah, i agree overall <5> it has always served me well <4> that is, if you dont want a powerbook, macbook <0> http://madsoft.lonestar.org/garage/images/s12007b.jpg that Tandy in fact <0> http://madsoft.lonestar.org/garage/images/l12007b.jpg larger <4> gross ;P <9> lol "Like a monkey with a sledgehammer" <4> bbs :P i think they close at 9 <0> heh <7> gphpedit looks good. anyone use it? <9> dgrant there are a zillion editors for linux, if you like one use it! <7> Jymmm: I don't want to. why do the work of trying a few when I can get a few recommendations <0> !tell dgrant about editors <8> I use eclipse....then I again I am a glutton for punishment <9> dgrant Cause this isn't google or #411 <7> Jymmm: good point <10> is there a lot of 'overhead' or incurred time when you include() an script with external functions <10> as in, when scripting php, I should keep in mind that the script will be read on the fly, and will never be pre-compiled right? <11> Depends really, most people split things and include it to save overhead. <0> a script will *never* be compiled
Return to
#php or Go to some related
logs:
ubuntu export command switches iptables redirection vnc sarge cannot run command chroot PS! WScript requires explicit package name #sdl ogmrip av sync ymessenger etch NetHack won't start Ubuntu #debian #css
|
|