@# 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 33 34 35 36



Comments:

<0> it's what manages your p***words and users
<0> and groups
<1> Jymmm, now its increasing... from 200s into 1sec for 20 uid
<1> i remove the 'UPDATE' part, and the speed increasing...
<2> say you had a block of HTML at the end of ALL your pages, and you just plugged it into a footer.html, is it good practice to just readfile() that file at the end of your pages? (this way if you change the text it changes on all pages)
<3> iPrometheus: just include()
<3> iPrometheus: less resource intensive
<2> i thought include parsed the file
<4> It does.
<3> include() has always been faster than readfile() for any tests I've run...
<2> hm, cool. i thought that parsing the file as opposed to simply outputting it would have been slower
<2> ever compared an fread loop to include?
<5> it should be noted that an include doesn't parse
<5> it dumps the contents inline



<5> so that the parser can execute the full code
<4> That explains the speed difference then.
<5> a require actually does a parse
<5> which is why you have to use it for cl***es
<5> :)
<3> um... borked
<4> Ye bloggeth.
<6> Woohoo - it the weekend!
<6> later
<3> later
<7> kodekrash: How old is your wife?
<3> r404||away: pretty old
<4> Ouch.
<7> er
<3> 55
<8> kodekrash: How old are you yourself?
<3> 26
<8> Wow
<3> damn... finally got the 'Open URL' handler working in xchat...
<4> kodekrash: Canadians!
<3> Krazylegz: eh, sorta
<4> Oh.
<4> Close enough.
<3> wife is 100% tho
<4> You are officially a Canuck in my book. ;-)
<3> are you?
<4> Nope.
<3> too bad :p
<4> Hah.a
<9> so I'll take that as a no... great
<3> no what?
<10> Is there an equivalent of a server-side redirect in php?
<11> header
<3> http://php.net/header
<4> puff: header( "Location <newURL>" ); .
<10> E.g. I want to have a form submit to a php script that then forwards to one of four other pages depending on parameters.
<4> Gah, I screwed that up.
<10> Is that server side or client side?
<4> puff: header( "Location: <newURL>" ); .
<3> puff: in PHP, so server side
<11> puff go read the manual
<4> Server-side. Check the docs for clarification.
<11> !+search
<12> To EASILY search php website and manual --> http://php.net/WhateverYouWantToSearchForGoesHere
<10> Cool,tanks.
<11> !+fish
<12> Give a man a fish, you feed him for a day. Teach a man to fish, you feed him for a lifetime." The moral of this lil story is if you spoon feed someone information that's fairly obvious, you're not really helping them, just preventing them from growing/learning and being able to be resourceful for themselves.
<13> Yes, no fish on sale.
<11> kuja: You can be killed and processed like a tuna
<10> "Give a man a fire, you keep him warm for a day. Light a man on fire and you keep him warm for the rest of his life."
<4> Which won't be too long.
<11> puff like nobody has heard that one before.
<14> lol
<14> nicely said



<10> Oddly enough, php.net/location gets me nothing :-)
<15> i have a problem with fsockopen opening a http 1.1 connection to an apache server. after receiving all the data, the feof() takes some time before timing out. the manual suggests that this is because apache isn't closing the connection. any ideas on how to get apache to close the connection asap?
<8> Lol
<16> deadroot, I suspect a keepalive
<8> puff: http://us3.php.net/header
<3> deadroot: send a header 'Connection: close' as part of your request
<10> It's client-side.
<15> kodekrash: thanks. i'll try that
<15> kodekrash: thanks. that worked fine
<3> deadroot: yes, I know :)
<4> puff: How about just require(...) then?
<15> :)
<8> puff: Are you looking for something like mod_rewrite?
<17> hiiiiiiiiiiiii this lavanya
<18> http://pastebin.com/593950, what am i doing wrong here?
<17> i got some doubt in PHP
<3> lavanya: apparently, you have some doubt in English too
<8> lol
<17> how to put data in grid in php
<4> b0nk3r: You never get into your while loop maybe?
<11> lavanya: You can't, try asp
<13> Jymmm: Ooh!? /me goes try t3h asp
<13> Jymmm: IT'S NOT WORKING!!
<17> this grid must be displayed in the list box
<17> yaaaaaaa i tried the while loop also
<18> krazy how do i fix it
<17> but i didnt work
<17> could u send me the solution
<11> kuja: I REALLY do know someone that owns a seafood processing plant up in Alaska... I'm sure they would be more than willing to 'take care of you' perosnally.
<13> Jymmm: Bring it on! >_<
<19> do you mean theyd give him fish? because I love fresh sashimi!
<19> >_<
<20> who is lavanya is she my friend ?
<20> :-)
<17> but we have to put 10 thousand code in that
<11> kuja: Come on... I'll meet you in alaksa
<13> Jymmm: You're going to have to come for me in Korea first, biZzAaTcH!
<11> kuja *****
<13> :(
<1> Jymmm, its faster now... 30 times faster than before
<4> b0nk3r: Take a look at what you're doing there. You set $oldcl*** = $user['cl***']; . I'm ***uming that's already got some value, but then you grab a new row before you enter the while loop.
<1> just because UPDATE problem
<4> So, I don't think they would be equal?
<20> lavanya from mysore?
<20> -)
<15> on a HTTP 1.1 connection, there is always a small amount of data (about 5 bytes) that always get returned, even if i have nothing to return to the UA. any ideas on fixing that? or non-fixable?
<18> krazylegz, oh so i put the first line into the for loop
<18> now what?
<11> deadroot you're gonna waste time delaing with 5 bytes? WTH?
<17> iam sending u the code
<4> b0nk3r: I think instead you might want to put your $user = mysql_fetch_array(...) into the while loop.
<15> Jymmm: i was just wondering
<17> u plz check it
<17> ok
<11> !+u
<12> Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics
<4> I <3 Jymmm.
<17> <html>
<17> <tr><td height="1" width="600" font face="Trebuchet MS">
<11> lavanya this is ##php, not html... try #web instead.
<10> I'm looking at the date function... all I really want to do is slip the current date/time into the insert clause to log when the form was submitted. Is there a shortcut for this?
<10> Ah, found an exampl of that in the user comments for that page.
<10> NOW()
<10> mysql function.
<17> yaaaaaaaaaaaaaaa its html but iam using php functions in that
<11> lavanya doens't matter
<15> lavanya: also, put the code in a pastebin
<17> problem is i have to put entire data in a list box


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#web
#gimp
not well-formed (invalid token) Parser.pm debian
opensuse disable-acpi
#fluxbox
#gentoo
fedora fc5 gnomad error
rhapsody plugin firefox out of disk space linux
ycv85r
#perl



Home  |  disclaimer  |  contact  |  submit quotes