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



Comments:

<0> like that
<1> Pooky: right. yah, i was calling those by cronning wget for a stupid long time.
<2> I'm having big problems with my flash not being able to clear the cache. Does anyone know any secrets to clearing cache for your site?/
<1> vantage: by cache do you mean browser cache or /tmp?
<3> vantage: flash has nothing to do with php.
<4> Man, I'd be pretty annoyed if a Flash file could clear my browser's cache.
<5> S^Gerbitz: Try it. ;-)
<6> nexact-: YAh. You should report it. http://bugs.php.net
<0> AcidReign - I dont want the image to show up, just the code to be displayed
<5> S^Gerbitz: it wont.
<5> S^Gerbitz: like I said, you cant do any formatting inside a textarea
<5> HTML is not rendered
<2> walrusnip: i believe browser cache.. I have a customizable flash.. that you can change teh background.. but Internet explorer won't ever let it update
<7> doesn't <code> do that to?
<3> vantage: flash .. has .. nothing .. to .. do .. with .. php
<8> and php has nothing to do with browsers



<3> vantage: the channel name being ##php should tip you off on this fact.
<1> vantage: well there are certain no-cache flags you can set
<3> that's not a flag, it's a header.
<1> vantage: google for nocache and you might find something to fix your glitch.
<7> caffinated: lol. libswf for the win!
<0> AcidReign - check out my coding at: http://pastebin.com/645003
<0> AcidReign - I am trying to do the the same thing that pastebin as at the bottom of the page
<0> sorta
<1> caffinated: you are correct.
<9> what would cause a parse error at the last line of the code
<9> consistently the last line
<8> unit_number_43: a missing }
<0> AcidReign - any advise?
<10> hello anyone know how to compare if a date is between start and end date?
<9> thanks ||cw
<0> AcidReign - like this http://www.r4wr.com/friends/result.php
<1> S^Gerbitz: GeSHi - Generic Syntax Highlighter
<0> walrusnip - whats that
<1> S^Gerbitz: it's a thing that does code highlighting.
<11> helo
<12> Still no one know about my compile error?
<13> hi
<12> it says "lex: command not found"
<11> can u tell me what is better for server: makeing 1 big image and map links on it or makeing 70 smaller images and link it separately??
<14> Jaywalker: is 'lex' installed on the system?
<6> install flex 2.5.4, Jaywalker
<12> Flex, ok, i looked for lex in YaST
<6> !tell kamracik about u
<12> but flex, got it
<1> fm_1986: convert it tto unixdate and do if < and >
<15> how does one show the unix timestamp?
<12> Thanks
<13> Hi I've got a small question about this statement, how should I change it for it to work: if ($_GET['page']; == "") { include("load_$_GET['page'].php"); }
<5> S^Gerbitz: your quotes in that echo statement seem to be.. messy, unescaped, etc
<13> oops ignore that, wrong one
<1> sesstreets: http://ca.php.net/getdate
<13> <?php include("load_$_GET['page'].php"); ?>
<13> basically I want the page to load a page named load_[variable].php
<13> when I send ?page=ect it would include load_ect.php
<16> what's the function that helps you when rendering tabular calendars?
<13> actually instead of the load_ prefix what I really want is a directory, pages/
<11> Stormchaser: sorry for that 'u', can you answer for my question??
<16> i thought it was part of stdlib but i can't remember it.
<13> so I just need a syntax fix heh heh
<10> hello anyone know how to compare if a date is between start and end date?
<14> EAH_Rainmaker: try <?php include("load_{$_GET['page']}.php"); ?>, not 100% sure
<16> like kind of gives you a multi-dim array to help with the page.
<13> ok thanks dude, I'll try that
<15> walrusnip that wasnt what i was looking for
<15> I meant the unix timestamp
<16> not a good idea security wise to use $_GET unchecked in include()!
<1> sesstreets: it's there dude.
<6> kambei: I can't understand, how your question in anyway is connected to ##php...
<15> [0] => 1055901520 that right?
<1> sesstreets: 0 = seconds since the epoch
<15> how do i output just that
<13> MutinyFreechode: Oh yeah, totally forgot
<13> what would be best check for that
<17> Stormchaser: I don't recall asking a question.
<14> EAH_Rainmaker: switch()
<1> sesstreets: $date = getDate(); $date['0'];



<15> oh
<15> thanks
<13> Remi_Woler: Perfect thanks very much ;)
<6> kambei: Sorry... Blame my tab completition... *stabs*
<17> I was thinking of asking an off-topic question, anyway.
<13> Remi_Woler: Err could I just check if $_GET['page'] is in or under the current directory?
<17> So consider that a pre-emptive strike.
<16> don't p*** $_GET directly to include() is a good start. even at all.
<6> kamracik: I can't understand, how your question in anyway is connected to ##php...
<16> damn it i could have sworn i saw this
<16> a php function to help you draw a tabular calendar for a month.
<13> hmm
<6> !+enter
<18> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<14> EAH_Rainmaker: possible, or check which value is in there, and issue an include accordingly
<2> Does anyone know how to clear cache with internet explorer for flash files?
<13> ok thanks remi
<6> vantage: That's not connected to PHP in any way. Try #web.
<19> Stormchaser, I've got my answer:money_format() function uses strfmon (man strfmon), which in turn
<19> depends on your current locale and this particular issue means that
<19> post likely your locale is broken.
<13> I don't want to include all the values so I'm gonna take a look at teh $_server functions
<19> um sorry,
<14> EAH_Rainmaker: like: switch($_GET['page']) { case 'home': include('load_home.php'); break; default: include('load_index.php'); break; }
<6> nexact: That's what you get for using *BSD
<6> *runs
<13> cool thanks remi
<19> Stormchaser, hahaha :)
<13> Remi_Woler: <?php include("load_{$_GET['page']}.php"); ?> I actually tried sending ?page=google.com and that the page didn't load at all
<11> Stormchaser: in way of optimizing script wchich one is makeing images for auctions, i have already create it but it steals 30% CPU on server :/
<14> EAH_Rainmaker: becaude load_google.com.php doesn't exist
<14> *because
<13> because of my load_ and .php adds don't you think it dosen't matter if I let $_GET go unchecked?
<16> something similar to what `cal` under unix provides you.
<11> Stormchaser: and i dont know did it can be more optimized if i create lots of smaller picies/images
<14> EAH_Rainmaker: there are more ways of abusing a $_GET :), just check it, it is a few extra lines of code, and can save you a whole lot of troubles. Better be safe then sorry
<13> ok thanks heh
<10> hello anyone know how to compare if a date is between start and end date? just send me a message. Thanks.
<20> fm_1986: if ($date >= $start && $date <= $end); - $date = strtotime("2006-04-07"); $start = strtotime("2006-01-01"); $end = strtotime("2007-01-01");
<21> is 0000-00-00 considered to be null when used in mysql_fetch_***oc ?
<10> for example i want to check if the input date is in high season or low season
<1> fm_1986: oh of course.. high season.
<10> so i compare just need the ddmm
<14> fm_1986: take the very first day of the high season, end the very last date. If it fails, the date is in the low season
<14> *and
<10> <14> so my dates are only mmdd so low season starts 1 Nov (11) and ends 31 Mar (3) how to i just check without year?
<14> fm_1986: grab the year from the input year?
<10> aham nice thanks know i understand
<10> <14> thanks alot
<13> I have this here: <?php for ($file = count($FID); $file > 0; $file--) { ?> basically my attempt at reversing an upward for() loop, it dosen't work quite right tho any ideas?
<16> standard library function to help you draw grid-type monthly calendars ala `cal` style, anybody???
<22> EAH_Rainmaker: >= 0
<4> MutinyFreechode: PEAR's Date_Calc has one.
<22> arrays are 0 based
<22> also count() -1
<13> ahhh thanks man
<16> mattcc, i could have sworn there was something in the stdlib. i'll try checking Date_Calc and see if it uses that.
<4> MutinyFreechode: Nope, not that I'm aware of.
<13> the data I am grabbing goes up so I figured this would be an easy way to make it go in the order I want heh
<23> hey are there any free sms gateways out there? or ... whats the best way to do SMS yourself?
<24> blipp: go to www.txt2day.com
<23> doesnt work
<13> p.post_time DESC ... is this something that is used in php commonly
<13> Any ideas on how to reverse it ? heh
<22> eh?
<22> is that SQL?
<23> ASC
<13> I dunno what it is
<13> ASC sounds right heh
<22> ASC is default, you can add that in place of DESC or just remove DESC
<13> oh ok
<13> thanks dude
<23> and it is SQL .. not PHP
<13> ok


Name:

Comments:

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






Return to #php
or
Go to some related logs:

sis 598/6326
gnometris ubuntu
#gentoo
#math
TOtorrentdeserialise. torrent is zero length
invalid module format gentoo loop.ko
#perl
#perl
error playing raaga.com
azx_get_response timeout+ debian



Home  |  disclaimer  |  contact  |  submit quotes