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



Comments:

<0> oh, crap ...
<0> er, make that 4 billion
<1> lepine_h, Sortof a number longer than 10 digits?
<0> and intel has 6 billion shares outstanding ... i'm fscked for now
<0> bugzElMagnifico: , yes
<2> i think there is a simple solution somewhere
<2> search google :)
<3> Anyone have any suggestions for me?
<0> yeah, there's always that
<2> Nexus: also be sure to delete the cookie
<1> lepine_h, I just did, 1000000 * 100000 and it echoed normally...
<0> echo $data['DELL']['symbol']. "\t". $data['DELL']['shares_count']. "\t". (int) $data['DELL']['shares_count']."\r\n";
<4> schweet
<0> DELL 2353522000 2147483647
<0> (the first number is actually a string)



<2> so casting it as float changs nothing?
<0> The size of an integer is platform-dependent, although a maximum value of about two billion is the usual value (thats 32 bits signed). PHP does not support unsigned integers.
<0> i thought 32 bits was much larger than 2 billion ...
<0> my bad everyone
<0> (signed)
<0> ultimatly, i'm still ****ed as i will need to go with numbers as large (or larger than) 6 billion
<2> you read the php types section in the manual? php.net/types
<0> reading
<1> lepine_h, have you tried to do : ($data['DELL']['shares_count']*10)
<2> casting as float will work
<2> instead of int
<1> lepine_h, I meant without the casting
<0> trying
<0> well ... that's weird ...
<0> :-/
<1> before you ask... I dont know
<0> hehe
<0> i was going to!
<1> I just know it works
<1> as long as you dont p*** 11 digits I think
<1> then it goes all 2.???E+12 thingy
<0> well ... it still gets evaluated as a float ...
<0> and not a string
<2> maybe php should be written in java instead of C so it can use bigint ;)
<1> lepine_h, now if you must cast... use (double)
<0> so i ***ume it will be doing calculations
<2> use float not double in php :)
<3> So, if I use $_SESSION = array(); do the variables still exist? I'm trynig to destroy all variables.
<0> why so?
<2> doesn't matter, but php calls them floats
<0> it's the same ... ? accoring to the definition
<0> oh, ok
<1> ahhh good to know
<0> and in the rest of the computer science world, is there a difference?
<2> more of a joke then anything
<2> yes
<2> at least in C
<0> signed vs unsigned?
<2> 42
<3> Yes, that is the answer.
<3> 42
<0> lol
<1> ahhh (float)(double)(real) all mean the same thing in PHP....
<5> ****ing php
<5> nothing like inheriting some code that updates the same db field in 5 modules
<5> what fun
<2> blame php
<2> actualy blame C, php was written in it
<5> I know, it is the developer
<6> Pie Charts!
<5> but why does PHP seem to encourage the every-page-is-an island mindset?
<6> I am writing a site which requires a pie chart. Does anyone know of any functions/libraries allowing me to draw pie charts. What is the best way I should go about having a pie chart on the page?
<6> Anyone got any ideas on pie charts?
<2> koehala: jpgraph is popular
<1> Actually blame the Steves... they invented the PC and we are all here due to them
<5> ack! I am off to debugging hell
<0> koehala: , i looked into svg once ... it's a bitch
<1> and svg requires plugins depending on the browser
<6> philip: is jpgraph a function or library or where do I get it?
<0> yeah



<6> lepine_h: I feel very motivated now
<2> koehala: what is a good way to find out such information?
<0> koehala: i'm sure you are ...
<6> yeah, google :-P
<0> i have seen some frameworks ($$$) to do that kind of thing though :)
<0> can't remember the name
<0> it could do a couple kinds of charts ...
<0> stock charts as well
<1> you could try suicide and do the graphs in flash :)
<2> you mean a java applet? :)
<7> night guys
<6> haha, no, this all seems to complicated
<2> night [itrebal_sleep]
<8> suicide with doing graphs in flash? how about svg?
<0> koehala: backbase has a flash graphing thing ...
<0> you can always try to reverse engineer or something
<2> jpgraph is well documented
<9> How do I print a newline? I've tried echo "\n", but it didn't work.
<2> \n is not HTML
<2> <br /> however is HTML
<6> lepine_h: I don't like flash, I like to keep to php and rest ***ured that the page is compatible on all browsers
<9> ah, right
<9> thanks
<2> check your html source, you'll see the newline from \n ;)
<1> or surround your echos with a <pre></pre> - that respects newlines (ick)
<0> koehala agreed
<6> AAghh... Why does everything have to be so complicated? :@
<1> koehala, if it was easy, everybody would do it
<1> God it's hard to play Dream Theater's music, the finger stretching alone will break your hand
<10> hi
<10> w***up here?
<1> it's late, raining, and I'm tired?
<10> where are you from?
<1> Brzl
<10> im from argentina
<10> its almost 1 am here
<1> 2am here
<10> city?
<1> SPaulo
<1> you?
<10> buenos aires
<1> nice... I'd like to go there someday
<11> i moved my site to a new host, and now i cannot store sessions, is this common?
<12> re
<6> bugzElMagnifico: yup, if playing Dream Theater's music was easy, everyone would do it
<1> koehala, ha ha ha... I still wonder if Petrucci is a genius, completely insane or both...
<13> Portney's the man as well.
<13> As a drummer.
<1> I think they are all incredibly fantastic musically.
<6> bugzElMagnifico: Defnitely insane
<1> koehala, I still have my doubts
<11> i moved my site to a new host, and now i cannot store sessions, is this common? i do phpinfo and it says sessions allowe
<11> d
<14> Serialkiller: hmm...do you have any .htaccess files that may be specifying a session directory that the web server does not have read-write access to?
<11> nope
<11> no htaccess file
<14> well, I would create a very basic script to test sessions and if it doesn't work, show your host what's going on
<14> and checking the logs might be worthwhile if you have access to them
<15> I want to use filesize() of an image file just as another precaution to help protect against people altering the script... is there any way that when distributing a script that somehow the file size would change, or at least what filesize() would return?
<13> Kaitlyn, all they need to do is change your if statement to check for another filesize.
<13> Nothing should arbitrarily change a file's size, but your check isn't going to do too much.
<15> it will be encoded..
<16> how do you encode a php script? :o
<15> zend encoder/ioncube/sourceguardian/"obfuscators"
<8> Kaitlyn: not sure what you mean, but crc32, md5 or sha1 may help
<15> deadroot: filesize() isn't "fine"...?
<17> Kaitlyn, use md5_file()
<15> just noticed sha1_file()..
<17> even better
<15> :) heh alright
<15> thankss
<15> will a file uploaded in ascii vs binary affect this?
<8> no
<15> k, great! thanks :)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

segmentation fault winrar
#web
ubuntu authentication required domain
#perl
Ralink RT2600
Wlan+ubuntu+recomended
ubuntu ip printerport
#lisp
ulog devil-linux
#gentoo



Home  |  disclaimer  |  contact  |  submit quotes