| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> so A <1> i mean they should have figured they'd have heavy demand <1> the game has been down for hours with no communication from blizzard to the users <1> except "we're trying to figure it out" <1> and they've made it clear they're not going to refund us for downtime <2> gamers are by far the whiniest customers <1> how would you like it if you paid your ISP $16/mo and it worked 3/4 of the time? <1> it doesn't matter what the product is, it doesn't work <1> how would you like a whole day without internet? <1> would you be pissed at your ISP? <3> http://dalphp.shoggoth.net/pastebin_view.php?786 <3> No idea why it isn't working <2> ah, you know what it is... <3> o_O <3> maybe i do! <2> the "service" model that companies are in love with (because it provides constant revenue) breeds the most resentment between both sides; since the service will never be up 100% of the time, and when it isn't people feel ripped off
<2> unlike a regular product, which if defective you could replace or refund, you can't really do so with a service <1> Zorlac: why reinvent the wheel? <3> becuase i dont know where the first wheel is. <3> or what it is <1> $var2 = "<quote>" . $file_contents . "</quote>" <2> this issue is compounded by the fact that gamers have copious amounts of time, are reasonably computer savvy and are already online... causes large amounts of bitching to be generated. it all makes sense. <3> that doesnt seem to work, ohm <3> ive figured out how to remove the content between the lines <3> now to make that content into an array <1> what is quote() trying to do? <1> i just can't read it <1> it's that bad <3> Eh... I **** <3> Well i *want* to take the content between <p> and </p> and turn it into an array. <3> I j ust worked it to remove all the content between the two... lol <4> Any idea what I need if I get "No such handler: gdbm" ?? <3> http://www.vivtek.com/gdbm.html <3> ohm: any suggestions? lol <4> ok, that's installed. Any other idea as to why I would get this? <3> *stabs php with a knife* <5> ok... <3> If only it would bleed... <5> hrmm. wonder what rewben's been up too. been a while. <3> ansimation: maybe you could just tell me how to use strpos to output the data between two tags into an array? <5> @strpos <6> (PHP 3, PHP 4, PHP 5) <6> int strpos ( string haystack, mixed needle [, int offset] ) <6> Find position of first occurrence of a string <6> http://www.php.net/strpos <5> @php $a="foo bar poo babies"; echo strpos("poo"); <6> PHP Warning: Wrong parameter count for strpos() <6> Result: <5> @php $a="foo bar poo babies"; echo strpos(3,5); <6> Result: <5> er <5> @php $a="foo bar poo babies"; echo strpos($a,3,5); <6> Result: <5> i dunno <3> $a="foo bar poo babies"; echo strpos($a,"poo"); <3> @php $a="foo bar poo babies"; echo strpos($a,"poo"); <3> bleh, log in!? <5> @php $a="foo bar poo babies"; echo strpos($a,"poo"); <6> Result: 8 <5> im tired as all hell. heh <3> Well i figured out how to 'delete' the data between two variables, but that is as far as i got <5> why not just use regex? <3> I dont know regex. <5> learn it <3> That is a pretty hard thing to do for this little arse script :( <3> I wish i could find an example online somewhere, its the only way i learn <5> $a='<p>whatever between tags</p>'; $b=preg_replace("/<p>(.+?)<\/p>/i",$1,$a); echo $b; <5> @php $a='<p>whatever between tags</p>'; $b=preg_replace("/<p>(.+?)<\/p>/i",$1,$a); echo $b; <6> PHP Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' <5> !php $a='<p>whatever between tags</p>'; $b=preg_replace("/<p>(.+?)<\/p>/i",'$1',$a); echo $b; <5> @php $a='<p>whatever between tags</p>'; $b=preg_replace("/<p>(.+?)<\/p>/i",'$1',$a); echo $b; <6> Result: whatever between tags <5> forgot to quote the $1 <3> =o <3> hmmm <3> doesnt seem to work <5> is whatever you want in <p></p> ?
<3> yeah <5> how many instances of <p>*</p> are there? <3> Stoned4Life: that i can see <3> one* <5> ok... <5> it should work then <3> http://www.msgill.net/test.php <7> pasetbin the code <7> or show us the preg_replace line <7> :o <7> sup mang ansi <5> h <3> $b=preg_replace("/<p>(.+?)<\/p>/i",'$1',$file_contents); <5> bout to goto sleep homie <3> just cut and pasted <5> what am i looking at here? <5> <quote>This is a test</quote> <quote>Please note this is a test</quote> <quote>Mostly for the rss</quote> <quote>and for my sig</quote> <quote>but for fun too</quote> <quote>i think it would be cool if its finished</quote> <5> it seems to have worked <0> @confess <6> after reading a confession on here, i searched for the time magazine cover from sept 20th 2004. when i found it, i nearly choked with laughter. goatse flag!! HAHAHAHA <3> *refreshes* <7> gnight rob, ansi <0> @confess <6> My farts smell like Turkey pepperoni. Mainly because I ate an entire pack yesterday. <8> night <0> @confess <6> i love you matt, and i hate you for it. <0> @confess <6> Sometimes I enjoy jacking off more than I do ***. It's just easier to cum and get it out of the way. Ya know? <0> @confess <6> I left my cat with my ex's parents and didnt fight to get him back. I excused it by saying the dad was sick and needed him more than me. Really I just dont want to be responsible for anything. <3> Ansimation, how did it work? <0> @confess <6> i haven't seen my penis for as long as i can remember <0> good enough <3> It's supposed to only show the the text bewteen <p> and </p> <8> <quote>This is a test</quote> <quote>Please note this is a test</quote> <quote>Mostly for the rss</quote> <quote>and for my sig</quote> <quote>but for fun too</quote> <quote>i think it would be cool if its finished</quote> this is what i see... is that what you wanted? <3> I see alot more... <3> I still see everything <3> including that <8> $a='<p>whatever between tags</p>fdsgfg'; $b=preg_replace("/<p>(.+?)<\/p>.*/i",'$1',$a); <8> use that <3> hmm <3> that code exactly works <3> but it doesnt seem to work on my file contents... hold on i'll pastebin <8> i forgot to include everything following the ending </p> <3> http://dalphp.shoggoth.net/pastebin_view.php?787 <8> i dont know anything about curl, but it should work afaik <7> you dont need the trailing .* <3> Yeah im not really understanding why it would work on the test string <3> and not the real thing <7> is $file_contents a string? <7> @curl_exec <6> (PHP 4 >= 4.0.2, PHP 5) <6> mixed curl_exec ( resource ch ) <6> Perform a CURL session <6> http://www.php.net/curl-exec <8> hant: you do need it <7> -_- wtf is mixed. <7> heh <7> well, if you just want stuffs between <p>...</p> <8> @php $a='<p>whatever between tags</p>fdsgfg'; $b=preg_replace("/<p>(.+?)<\/p>.*/i",'$1',$a); echo $b; <8> wtf... <7> you can match <p> ... </p> and grab the between <3> heh, how? <2> emerge -avtuD world <5> @php $a='<p>whatever between tags</p>fdsgfg'; $b=preg_replace("/<p>(.+?)<\/p>.*/i",'$1',$a); echo $b; <6> Result: whatever between tags <5> @php $a='<p>whatever between tags</p>fdsgfg'; $b=preg_replace("/<p>(.+?)<\/p>/i",'$1',$a); echo $b; <6> Result: whatever between tagsfdsgfg <7> try $a = '<p>abcdefg foo</p>foobar'; $b=preg_replace('/<p>(.+)<\/p>/i','$1', $a); echo $b; <7> yeah <7> pizza_milkshake: lol <2> nein
Return to
#php or Go to some related
logs:
WPNT511 on ubuntu #kl #india #allnitecafe you tube kötüruh #worldchat #india #java guytoguy
#chat-world
|
|