| |
| |
| |
|
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> domas, It's just long division with remainder. <1> Touqen: I'm not sure how I'd translate 'liekana' into 'modulus' <1> ah, right, remainder <2> sorry reading php 5 fast and easy and its been exactly that but this section baffling me <1> remainder, modulus, what's the dif? :) <0> raden, You do know what division is? <2> Something left over after other parts have been taken away. ???????? <2> Touqen, yes sir <0> Okay so you know what a remainder is too right? <3> ing? <3> okay, I'm a bit more drunk than I though. <3> +t <2> whats left over after something is taken away <0> lol <0> Okay.
<0> raden, no <0> That's the difference <0> raden, The remainder is what is left over after a division. <1> integer division <2> Mathematics. Remainder, what's left over when one integer is divided by another: <1> he he <2> correct ? <0> 12 / 5 = 2 because 5 goes into 12 two times and the remainder is 2 because 5 * 2 is 10. <2> so 85 % 13 would be ? <2> 7 correct <4> yes <0> yep <2> and 85 % 18 would be 5 ? <0> raden, no <0> 13 <5> hm, is there a way to do what I want without having to set allow_url_fopen to on? <0> Saburo, fsockopen <6> Saburo: fsockopen, fsockwrite and fsockread <5> but if I just echo fsockopen's output, I get all of the header stuff in there <0> while you are at it, give rfc2616 a look <2> Touqen, im sorry im not getting something here can you put into simplicity how 85 % 18 becomes 13 ? <6> erm, fwrite and fread <0> 18 * 4 = 72 <6> Saburo: well devise a method to strip the headers, it isnt brain surgery <0> 85 - 72 is 13 <7> raden: What operating system are you on? <2> nitishp, suse 10.0 <5> yeah, I did a quick header strip, but if I echo the remaining data (its xml) it doesn't get displayed as xml <2> nitishp, debian 3.0 <2> nitishp, Win 2003 Server <2> take your pick <7> raden: Try getting the "calc" package. It does the modular arithmetic for you. <2> have it <0> nitishp, or he _could_ learn math... <2> nitishp, always good to understand somethings <8> hehe <7> Hehe, true. <2> Touqen, umm we just wont go there :0 <0> You brought it up. <6> Saburo: well you will probably want to send some headers to the browser saying that it is xml <5> yeah, so where can I find out what that data is? <5> I'm reading rfc2616 now, will it be in there? <9> Touqen: alot closer now, I'm getting a valid response from the php script, the data i'm trying to get from it appears to be undefined though... :S <2> Touqen, we just wont go there <10> can You enter in and out of php mode within a function decleration? <6> Saburo.... look at the headers that got sent to the php script <0> lyric, yes <0> raden, okay <0> anyway do you understand yet? <2> Touqen, pulling a book i vbelieve soo <0> raden, okay what 110 % 9 <10> and does session_start() have to be before the program outputs any data to stdo like header()? <2> 2 <6> lyric: yes, unless you have output buffering enabled <0> raden, Did you cheat? <0> raden, And do you know why it' two? <2> 9*12 = 108 remainder 2 <5> can I drop everything but the 'content-type' line? <0> wonderful <6> Touqen .. i think you should have used div in your description of how it works ... :P
<0> sketch|work, I tried that earlier and it didn't quite come out right. <2> Touqen, Its not the math that i dont understand i was doing college math II in 8th grade just diffrent places use diffrent terminology :( <0> What is College Math II? <0> College Math II for me was Calc. <6> m = f * d + r, m = a number, f = a factor, d = the divisor, r = the remainder <0> Calculous. <0> Calculus. <1> =) <1> americans <0> And I still can't differentiate my way out of a paper bag. <2> basically its alot of crap <1> doh, you should get some soviet maths <1> ;-) <0> In Communist China, Maths do you! <1> ;-pp <6> Touqen: differentiation is simple :D <2> LOL <0> sketch|work, It was a JOKE. <6> i dont believe you -_- <0> I can change rate when I need to. <0> Alright, I need to run to the store. I'll be back shortly. <0> Psych. <2> lol <2> the book defined modulus very pourly <2> just says the remainder <11> i really need help on this. too many ways of trying to solve it and i still get error ... (line 9) http://pastebin.com/540984 <12> how do I work with arrays returned from a mysql table? <0> ccenoura, You need to use move_uploaded_file! <12> would it be in a multidimensional array? <0> JeeHoover, var_dump the array and find out <8> is there a way with FF to get the contents of a javascript variable? <0> ccenoura, You are missing a parenthesis on that line too <13> cccbrian <11> Touqen, not on that instance because the at that point the cript got out of the upload main script, so i can't get the functions back (and its values <11> ).. <0> ccenoura, You _need_ two. <13> try to print values of $upload_tmp_dir $upload_dir $file_name <0> Look at the line. You open two parens. You need to close two parens. <12> why, it seems to only show one <13> then u see if evrythig is corect with these <11> Tokeiito, they are there :) <12> gah <2> Touqen, ok i understand your definition and it all makes sense but my question is why does the dictionary define modulus as Mathematics. The absolute value of a complex number <0> raden, it's modulo not modulus :/ <2> the book says modulus would this be a error ? <11> Touqen, can you tell me the way you would do it (does't matter if gives errors, i'll try to work on it) <0> do what? <0> Did you fix your parse error? <11> <0> ccenoura, You are missing a parenthesis on that line too <0> if (!rename(...)) { ... } <2> Touqen, holy cow that all makes sense now that oi looked that up <2> if i would have had the proper word to look in the dictionary with it would have all made sense <2> and i would have never been in here to harse you Sorry <0> harse? <2> har*** <2> sorry im just irritated thats held me up for over a hour and its spelt that was 7 times in 3 pages <0> heh <2> Touqen, appreciate you straightening all that out for me im going to write a letter to THOMOS publishing <11> Touqen, oh, true, i missed one ) in there. but i'm pretty sure even after that i'll get that { error. <0> I bet you won't. <14> in html, / in a url path, will start at the end the domain name. example href="/images/pic.jpg" executed from domain.com/foo1/bar2/foo3 will display the image from domain.com/images/pic.jpg. Using php include, how do reproduce this behavoir? <2> Touqen, bet i wont or ccenoura wont ? <0> ccenoura <11> Touqen, you're right. i don't know why i missed that ) in there. for 1 hrm i'm trying to discover the problem in several ways <0> Enderbsd, well php isn't reliant on the domain for includes, it's relative to the filesystem. <11> Touqen, thanks a lot :) <14> so it is possible to do something like this <0> Enderbsd, Either change your include_path or use absolute paths. <14> hmm <14> Touqen, can you show me an example <14> i have this code <14> <?php include("/includes/leftmenu.php"); ?> <14> i want it to call domain.com/includes/leftmenu.php no matter what domain its on, and no matter what folder its in <0> <?php $path_to_includes='......'; include($path_to_includes . 'includes/letfmenu.php'); ?>
Return to
#php or Go to some related
logs:
reinsall GRUB debian 401 Authorization Required require_once php maildrop: command not found #perl conntrack_tcp_timeout kstartupconfig fails #osdev gnome emerge unblock nvidia geforce 6200 xorg.conf philips 170s gentoo live root access
|
|