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



Comments:

<0> xpowerstudios: im asking for real
<1> sorry, just send me a copy when youre done ok?
<1> it looks fun
<1> php + sdl power studios :O
<0> i only found a blank page on google about php and sdl
<0> tobmoox: http://freshmeat.net/search/?q=php+sdl&section=projects
<1> thats coz xpowerstudios just invented a way for them to communicate i think
<1> it looks slick
<0> tobmoox: no he did not
<0> tobmoox: :)
<1> oh ok
<0> or at least thast what i think since he didnt answered to my question
<1> hmmmmm
<0> and i got him out of the tar pit
<0> away
<2> hey



<3> http://pastebin.com/712900 - Anyone have any idea why the script will not run?
<0> $word{$stop}; ?
<0> $word[$stop] ?
<3> same thing =\
<3> thats not it though
<0> no, its not the same thing [ and ] are array operators
<0> {} are variable delimiters when applied to variables
<0> anyhow echo $word[$stop] . ' - ';
<3> well it was a different line but thanks anyway, that wasn't the error
<4> Quick question. I am using the built-in session functions, but a user moving between two subdomains in the same .com does not carry across session data. I ***ume I need to configure something?
<0> all this st00p1d enterprises using .NET in my country make me sick
<5> Hmm how do I clear what's inside a variable?...
<5> empty it I mean
<6> unset
<5> unset...
<5> yah
<0> mhillyer: use session_start (); in each one of your scripts
<0> at the start
<4> I did.
<0> let me check something out
<4> But google tells me crossing subdomains may be an issue.
<0> yes
<0> thats what i was checking
<0> mhillyer: the examples about session_start in php.net might give you a clue
<0> mhillyer: the pages are inside the same server ?
<4> Yes.
<4> Just on two different subdomains.
<7> anyone know how i can set a var to mutiple copies of itself
<0> then you got a solution
<4> What is that?
<0> It is however only domain specific when the domains are hosted on the same server.
<7> say i have a array of text tha ti want to repeat 3 times named $test. how to i mutiple $text so it contains 3 copies of its origional data
<0> You can still share session data between domain2.com and domain3.com just with that caveat.
<0> mhillyer: thats what i got on session_start about domains in php.net check itout
<0> s/itout/it out/
<4> I am reading the comments to the page, not seeing a solution yet, will keep reading.
<0> mhillyer: i said clues not solutions ^^
<4> Clues are for the non -clueless ;)
<0> ;)
<0> [sellout]: correct your speech and then i might help you :)
<4> Actually all I need from the session is a username, I think I may just tack it onto the get string in the call to the script on the other subdomain.
<0> or even try to
<0> get man :)
<7> in other words is there a way to print the content of a given var X amount of times
<0> $HTTP_GET_VARS['username'];
<0> [sellout]: while (list ($key, $var) = each ($test) { echo $key . '=>' . $var }
<0> add to that an if statement and a counter
<0> and break and youre done, dont forget to reset ($test); if youre going to use the $test array again
<7> well the complicated thing is the end result needs to be saved as a regular varthat i can use in an html block...
<7> $mytextstring = $mytextstring * $numberoftimestorepeat;
<7> however i dont think you can multiply text like that
<0> [sellout]: use ord
<0> multiply the characters ASCII value
<0> [sellout]: join the array ...
<7> i do not follow
<0> join the arras to get it as a simple variable
<0> s/arras/array/
<7> i mean i could just do myvar = $myvar.$myvar.$myvar;
<7> or something but i want to be abel to change the number of times easily
<0> http://ar2.php.net/manual/en/function.implode.php
<0> and it would be $myvar . ' ' . $myvar if you dont want to get it all together



<0> :)
<7> it is just a string of binary code i am using as a border foy my page, but i dont want to to repeat forever, just a certian amount of times that i cna incriment as needed
<7> so it should run together in this case
<0> kk
<7> i dont follow how implode does this...
<7> hrm
<0> you said that you wanted to get an array $test in a single var
<7> sorry misuse of word array for my current prediciment...
<7> let me clairfy
<0> O K :)
<7> i have $binary which is set to 000101010110010
<0> uhum
<4> sse2: Just for next time, I solved it with http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21697100.html which suggested changing the session.cookie_domain to .domain.com
<7> i need to figoure out how to set $binary to rrepeat itself a set amount of times
<0> mhillyer: great! ;)
<4> Now it is shared across all subdomains,.
<4> Thanks again for the help.
<7> $binary = $binary * $numberoftimestorepeat;
<7> only ina way that will work with text
<0> a function repeat ($times, $stop, $var) while ($times <= $stop) { $var .= $var; if ($times == $stop) break; };
<0> replace break for return $var;
<0> im sorry it was confusing
<0> wait a sec
<7> kk
<0> checked out the query
<0> http://pastebin.com/712940 even
<0> [sellout]: is that what you wanted ?
<0> altough if your variable contains 000101010110010 you can exor it and it or it ... etc
<8> anyone in here have any experience with pgsql ?
<8> can someone point out to me in this code how to close all open connections when someone leaves ?
<8> http://www.compubomb.net/source?p***=hehe&view=source&source=//lib/load/db/pgsql.db.php
<2> how do i output a string like this (pastebin to follow) when the ?=page changes and so does the name of the image
<2> http://rafb.net/paste/results/fy39wp44.html
<2> i have this so far
<2> http://rafb.net/paste/results/nghUBs99.html
<9> I want to install php4-pgsql in FreeBSD but it wants to upgrade my pgsql database. Is there any way to install without upgrading?
<7> sse2, <looks>
<7> what should $stop be?
<10> sse2: never found anything
<7> would $stop be the same as times to repeat?
<10> man im designing this lady website, and its like a 2,000 dollar job, but I gotta figure this part out, and i got the rest made
<7> doh
<7> anyone else help?
<10> sellout: you good with php
<11> Anyone know if there is an HTML safe symbol for : ? (eg: &nbsp; )
<12> tdd1984: what's the hard part, and what will you pay me to solve it
<13> I'm having trouble having array_map work w/ NULL characters: http://pastebin.com/712958 (this works, but it doesn't give me quotes around a NULL $variable)
<6> !+g7
<14> Guideline #7) No spam, bots, scripts, trolls, job postings (no job posting / asking for jobs on ##php. You might want to check out: ##php.jobs http://www.geekfinder.com, http://www.monster.com, http://www.rentacoder.com or http://www.getacoder.com, or php.net/links, "Developers and Job Opportunities"), advertisements or onjoin/away/back messages.
<13> does array_map not work w/ NULL strings?
<15> how cna i add a variable to a fucntion. like say i have a variable that has the value of 2. how would i make it so it does an image function with the variable like image2();
<16> Hello. Im using PHP to generate my html links and i get this error on validation: reference not terminated by REFC delimiter.
<16> Has anyone come across this?
<13> i see that $_POST vars that aren't defined come over as: string(0) ""
<13> theGZA, link?
<16> link to what
<16> i can give u the error
<13> the validation error
<13> and the part of the code
<13> since links are pretty easy to see if it works or not
<12> Jymmm: I wasn't asking for a job, I was stealing, there's a difference
<13> Kog, trolling
<12> mick_work: not really
<17> Cold Stone Creamery in San Diego == THE ****!
<17> Jymmm: That's one hell of a difference ;)
<6> Kog: I didn't ban you, just muzzled you. There's a difference.
<18> Ok - mick_work - you have array_map and the callback function isn't working on the NULL values?
<18> have you tried checking for the null value in the callback function and handling it there... maybe with a default value?
<18> hey darlin' Jymm
<18> Someone irritating you?
<19> lig not any more.
<18> hehe
<19> lig It just gets old telling ppl over and over, especially when they know better.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#linux
what's wrong with GTK
E_no_instsrc_on_media videolan
#css
export DEBUG fglrxinfo
#perl
perlbop
keepnick chatnet
#perl
allegro sucks



Home  |  disclaimer  |  contact  |  submit quotes