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



Comments:

<0> feel like making some graphical buttons for this? http://www.mackenziefamily.id.au/cam/
<1> So it is only needed for creating html code.
<0> I've got the backend sussed out, I just **** at graphics
<1> Maybe there would be an echo better then a return as i would need an echo function (); every time i run the func.
<2> $root_path = strtolower(substr($_SERVER["SCRIPT_FILENAME"], 0, strrpos($_SERVER["SCRIPT_FILENAME"], "/"))); <<< that look right to everyone?
<3> Bizzeh, what are you trying to do/
<2> know the root of the current script without having to ask for it
<1> Thanks for help.
<3> Bizzeh, check out basename() and dirname()
<4> do I remember hearing the putting an object in $_SESSION is a no-no? why is that?
<5> is there any way to reference array indicies from a function call that is guaranteed to return an array? eg. isset( getField($name)['ID'] )
<6> No, the engine doesn't support that.
<6> rjokei: Eh, it depends. It can be problematic, due to the cl*** definition for the object needing to be loaded before the session starts.
<4> before the session? I just loaded an object, and used it during a session though
<7> I am trying to test some scripts which use the visitors ip address / geo location. Is there anyway I can fake my ipaddress so that I can test my script is working properly without travelling all around the world?
<7> oh, I using firefox - best browser in the world



<8> ibob63 proxy
<7> are there any public ones that are easy to use?
<8> google for it
<9> google proxy
<8> "free proxy"
<9> ya :)
<10> anybody have already hosted at GoDaddy or DreamHost? Are they good?
<11> ibob63: i using internet explorer - biggest piece of crap in the world (next to java)
<10> (for PHP+MySQL softwares)
<3> jmont, I heard they weren't that good a while back, but never personally used them.
<12> Any solution to how this site -> http://team254.bcp.org/new_site renders in IE without redoing it all with tables?
<10> CrazyTux, thanks :D
<7> jmont: GoDaddy are the fastest growing hosting provider in the world - according to Netcraft.
<7> so can't be bad
<10> ibob63, wow !
<3> jmont, dosent mean they are good!
<13> nitishp: remove the XML prolog on the first line - it throws IE into the quirks mode, in which it uses a broken box model
<10> another questiong... I want to build a website extremely lightweight... is Smarty good at caching? or there is any good php software for caching? or maybe even a Apache module... ?
<13> s/the quirks/quirks/
<12> insin: Okey doke.
<9> someone help :)
<3> AfroTurf, ?
<7> jmont: have a look at this: http://uptime.netcraft.com/netmove/today
<14> I am trying to compile PHP5.1.2 on Fedora Core4 with --with-mysqli option and I am getting an error for which I couldn't get help from neither this channel, nor php channel. Does anyone have any suggestions where I could get help? It's been over a day that I have been dealing with this issue and really need some help. I wouldn't mind hiring someone to help either. Does Fedora have paid support, any ideas?
<9> can i insert multiple values like an array into a mysql query
<13> AfroTurf: what kinds of values?
<9> i have about 30 different <input type="checkbox" value="something" />
<15> name them field[name] etc
<9> for each one that is checked
<9> i want inserted into my db
<9> which is set up for normalizing
<9> like vid,uid,options
<9> i need everything thats checked to go under options column
<13> have you looked at implode(',' $yourArray)?
<9> i thought oh that as a possiblility
<9> of*
<12> insin: Still didn't work :(
<3> AfroTurf, So <input tye="checkbox" name="option[]" value="x" /> then insert it into the database however yo want you'll have an array of $option 's
<9> hmm ok
<16> Has anyone run into a problem before of IE only sometimes sending session cookies back to the server?
<9> then can i just directly insert that array[] like VALUES(vid,uid, $array)
<3> AfroTurf, no, because it is an array.
<16> AfroTurf: No, but you can put it into a loop.
<17> Hello
<17> how can I get function reference in php4?
<3> AfroTurf, you could simply implode it into CSV and store it like that, or you could serialize($array) and store it like that.
<9> hmm let me check out serialize really qucik
<9> quick
<18> errm, does php4 support inner cl***es?
<3> AfroTurf, or you could setup another table called 'options' and set it up like so: id, oid and insert that id's options in oid and have a big 'option' table, which is what I'd do.
<3> AfroTurf, just because it allows for more straight off flexibility.
<9> CrazyTux: ya thats what i thought about doin originally
<19> >>>>>>>buy pixel puer 1cent<<<<<<
<19> http://www.100dollarhomepage.er1.be
<19> >>>Own a piece of internet history<<<
<20> ...
<3> Lets get a ban in here....
<9> i have a table called options, it has oid,vid,options
<15> hah hah, people are still making those sites?
<17> can I create somehow an array of function refferences in php4 ?
<6> No, but you can create an array of function names.



<3> AfroTurf, yes?
<17> and then eval ?
<17> mattmcc: and call them with eval then?
<9> then i waz hoping or thought i could insert my array in there i guess
<6> redips: No, just $func()
<6> Or $func['foo']() in this case.
<17> mattmcc: :D - thanks a lot
<21> >.>
<21> want internet history? submit a pic of yourself on the internet!
<13> what's the deal with certain things not being documented in the manual? the downloadable version doesn't mention being able to do call_user_func(array($yourObject, 'functionName')) to call a function on an object O_o
<9> CrazyTux: could i do a while loop?
<3> AfroTurf, a while loop, why?
<3> AfroTurf, foreach() ?
<9> crazytux: like while($array) { $sql query }
<22> insin: true
<3> AfroTurf, one sec, you can do it in one query.
<22> insin: probally a old manual
<9> Crazytux: ah cool thats what i want
<3> AfroTurf, INSERT INTO options (id, vid, option) VALUES ('', '', ''), ('', '', ''); so what you have to do is implode into that format.
<23> insin: it's documented... look at the call_user_func manual page?
<23> insin: what's with people saying things aren't documented when they haven't looked?
<24> hey
<24> question
<9> crazytux: ah ok, i think i can do that
<13> crap... I was looking at call_user_func_array ;_;
<23> it's documented there as well
<13> what's the deal with people not checking the primary page for a similar function?
<23> it's there, "and information about the callback type", it's on both pages
<13> yup, I'm pretty much blind - I swear I checked those in work yesterday O_o
<25> mode ##php +b *!*@193.41.62.*
<26> ploink
<26> heh
<24> gutts
<7> I have tried using proxy servers - but no avail - I can't seem to fake my ipaddress so that I can test my script is working properly without travelling all around the world?
<25> Oh, and who asked to be banned... oh yeah! it was CrazyTux
<3> Jymmm, lol
<3> Jymmm, Yes please please !! ban me, I'm spending waay to much time in here. lol
<3> lol
<27> grrr. since when in php is 205 < 200?
<25> CrazyTux You did ask for one: <3> Lets get a ban in here....
<3> Jymmm, Look a little bit above that statement. :)
<28> Night all.
<25> CrazyTux: That is NOT what was requested
<3> lol
<25> ban here is the EXACT phrase used
<25> refering to you
<3> Jymmm, Then I guess what must be done must be done!!! I will take care of it myself! :P
<3> Ok I just couldn't stay gone, I missd you guys to much!
<9> ^_^
<25> CrazyTux you **** at banning
<3> lol
<3> AfroTurf, figure it out? :)
<9> crazytux: i'm trying too :)
<9> when i implode my array i get apple,bananna,cherry
<25> fsck it... I think banning *!*@*cox.net should resolve most issues
<6> And create new ones..
<25> mattmcc let me think about that.....
<9> soo i'm trying to do (' ',$vid, 'something')
<25> mattmcc: Nope, no new ones.
<26> how about *!*@*.aol.com ? :)
<25> [TechGuy] already done.
<26> could've fooled me. :P
<25> mattmcc: Ok, I give, what new issues?
<6> Well, excessively banning ISPs? :)
<25> mattmcc: Hey it was TML who banned aol, not me
<25> mattmcc not like cox is THAT big
<26> how about *!*@*.rr.com :P
<25> [TechGuy] Sure, why not.
<3> AfroTurf, one sec, I'll give you an example.
<9> crazytux: ah cool thank you
<3> AfroTurf, echo "INSERT INTO options (id, vid, option) VALUES ('$id', '$vid', '" . implode("'), ('$id', '$vid', '", $options) . "')";
<21> how do i enable SSL support in PHP on a win32 machine?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#linux
#gentoo
#php
#perl
smartmatch operator p5p
#math
msg_get_queue no space
typewriter INI ZendCore
prox-y websties
PRISMA02 x64



Home  |  disclaimer  |  contact  |  submit quotes