@# 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



Comments:

<0> GregVernon: err wait, the function shold have commas inbetween the '\\1' or w/e that may be
<1> itrebal: just nothing
<0> GregVernon: idk why they dont...
<1> itrebal: is my php b0rken
<2> name: i duno at the moment
<1> damn debian sid
<1> burn php5!
<1> lets install php4
<3> name: dotdeb.org
<0> stormchaser: do you know why I'd be getting unexpected comma errors?
<1> kuja: SO?
<3> name: Grab PHP5 from there if you want. They're Debian packages, you know.
<3> Just add the repository.
<0> or you kuja
<1> kuja: for?
<1> what's that ****!



<3> Ah nevermind you already have PHP5.
<3> I think I read it wrong.
<1> is the $_SESSION full?
<4> name you already forgot what you're whining about in two minutes?
<1> Jymmm: no?
<0> name: what exactally are you having problems with?
<1> the $_SESSIONs variable
<1> it doesn't take any things in it anymore
<1> the staff i wrote before works, but i did it the same way.
<0> have you tried to start the session?
<1> I DID!
<1> damn
<2> name: dont get all pissed off, he came in the middle
<0> are you sure your using the same session name?
<1> GregVernon: hm? why shouldn't i? i did start one :/
<1> and I'm using the same variable
<0> thats odd
<1> he
<1> here we go
<1> Array ( [username] => [p***word] => p***word [p***wd] => adminp***word )
<1> $_SESSION
<1> there's other code
<1> than the one i pasted, but that one is the problem
<0> i'm ***uming your trying to access information on different pages, using information stored in the session
<0> ?
<1> GregVernon: no one page
<1> GregVernon: different times
<1> wtf does username point on nothing?
<0> same difference...
<0> haha, well, could that be your problem?
<1> GregVernon: what?
<0> the fact that [username] is not getting a value
<5> !+enter\
<5> !+enter
<6> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<0> you also, may want to try commas ^ ^
<1> GregVernon: it's getting
<1> when entering a value
<1> i misthought
<0> brb
<1> atm many weird staff is happening ;/
<1> to my poor code
<3> staff? Where/
<3> ?
<1> donnu, strange things
<3> :S
<4> kuja lilo's not staff you goofball!
<3> Oh yes, he's pwner :)
<1> things i don't mean it should work like it does, but without a reason
<1> why?:
<1> $_SESSION["p***wd"] = $_POST["p***wd"]; <works properly
<3> Hey, don't blame the code. Blame yourself :)
<1> $_SESSION["username"] = $_POST["username"]; < doesn't work properly
<1> i dont get it, really. but wait, i do get it :)
<0> make sure username is set properly
<4> ==
<0> kuja: i'm still haveing problems with that freakin preg_replace
<3> Cool? :)
<0> haha



<0> I wish it was cool
<7> i have a task which takes too much of time to be done... how can i make the web page send back the response to the client and finish its work after that?
<7> is it possible?
<4> kuja has no cl***.
<0> a school cl***? or a php cl***?
<3> Jymmm: Owning you is enough cl*** :)
<3> GregVernon: A Ruby cl***.
<0> oh, did not see *that* one coming
<4> kuja not even in your wet dreams
<1> what the heck?
<3> Jymmm: It's my uber wet dreams.
<3> I'm having one right now, and talking on IRC at the same time.
<4> no wonder your gf is sick
<1> I'll do it more complicated, evrytime i do this, it works ;)
<3> =(
<3> I hope I can get this stupid scheduler library working.
<0> hey hey, I got it
<4> GregVernon: Want a brownie button?
<0> I think i'll p***
<3> Bah, screw this scheduler!
<1> freaking BUGGY :(
<3> Jymmm: What smart*** crap!? >:]
<1> I do not think it's my fault, really, somethings broken!
<3> name: No, no. It's all your fault :)
<4> kuja THAT smart*** crap ^^^^^^^^^
<3> Mwahaha
<3> :)
<1> but i don't see the error
<1> noone does in here
<0> haha noone good times.....
<8> what preg replace?
<8> 0_o
<0> preg_replace is evil
<1> what the freaking bug?
<1> it lasts two "refreshes"
<1> the username in the $_SESSION
<1> then it's gone
<1> all gone
<8> GregVernon: I wouldn't say that. I'd say it's "bitter sweet"
<0> name: seriously make sure that you are using the same session every time
<8> GregVernon: I've accomplished some complex things in just one line of code with the right regex... but getting there and really understanding it was hard.
<0> ^Artnez: no.. its pure evil
<8> Some people just give up, while I persist.
<0> ereg_replace is alot better
<1> GregVernon: how?
<1> GregVernon: it submits into the variable
<1> GregVernon: then it goes ;/
<0> echo the session name every time
<8> For instance, people get pissed because they can't do a preg_replace() with nested tags.. for example.. [quote] [quote] [quote] [/quote] [/quote] [/quote]
<1> GregVernon: hm?
<8> I stuck it out and found a way :) Even the people in #regex told me you can't do it
<0> if it changes, you know you have a problem
<0> ^Artnez: how did you manage todo that one?
<8> (R?) :D
<0> heh
<1> GregVernon: how to echo it? i just began learning sessions
<0> echo $session_name; //or w/e its called
<0> and please tell me you are naming your sessions...
<1> GregVernon: well :D
<8> preg_replace( "/(?:\[quote\])(((R?)|(.*?))*)(?:\[\/quote\])/si", "\\1", $string );
<1> but why should it change just.. it submits into the right one
<0> wow
<8> i wrote it from how i remember, so i might have missed something but i dont think so
<0> thats obnoxious
<0> couldn't you have a while loop until preg_match returned false?
<8> name: use var_dump( $_SESSION );
<9> GregVernon: "naming your sessions"? did I miss something? you don't have to name your sessions.
<0> name: see, if it did why would you be having these problems?
<1> GregVernon: it writes
<1> GregVernon: but it just blump goes away again
<1> just -- blump -- ..


Name:

Comments:

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






Return to #php
or
Go to some related logs:

mini-dvi nano-itx picopsu
set time in debian
#php
library files for kcm_kicker.la not found in paths
link:http://freelance-job.blogspot.com/
#perl
#linuxhelp
ssmtp: Cannot open
#fedora
ubuntu scsi-emulation



Home  |  disclaimer  |  contact  |  submit quotes