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



Comments:

<0> about php documentation XD
<1> http://libernix.com/?inode=7764 :DD haha
<1> Seadog: tried their website, or google?
<1> i never used phpdoc
<0> yeah had a look everywhere hrm
<1> :/ whats the problem
<0> the first function is documented but it seems to steal all the other function params too lol
<0> so I'm getting
<0> .
<0> void insert (string $table, string $name, string $data, mixed $what, mixed $from, mixed $where, mixed $value, mixed $set, mixed $server, mixed $username, mixed $p***word, mixed $db)
<2> I'm getting this error: Fatal error: [] operator not supported for strings in file on line 21. However, it's not a striing, it's an array. Any reason why this would happen?
<0> instead of just the first three arguments
<3> Do any error occur if I try to use apache_get_modules() on an non-apache server?
<4> anybody ever interfere with segmentation fault on pear-install
<5> cynic: it's a string. double check
<6> cynic: Pastebin the code



<7> hi guys im trying to do this : ALTER TABLE `informacion` ADD `id_informacion` INT NOT NULL AUTO_INCREMENT FIRST , but i get : #1075 - Incorrect table definition; There can only be one auto column and it must be defined as a key
<2> This is the one script: http://pastebin.com/551322
<6> kakei: #mysql
<0> kakei, information is spelt wrongly too ;)
<2> and I have it go through a little login thing I made that still needs alot of work. http://pastebin.com/551325
<6> cynic: Define those vars as arrays first...
<5> cynic: is register_globals on?
<6> +like you should in the beginning...
<6> extract($_POST); <-- wtf?
<2> It gets all the variables out of post, I don't think I need it but it seems right.
<2> I'm still kind of new to this
<0> ah interesting, draxas it seems that phpdoc doesn't support abstract functions well, I have to put {}s in, which of course breaks the php
<6> cynic: If you don't have a good reason to use extract(), the _DO_NOT_USE_IT!_
<6> *then
<8> i'm having a very wreid problem :s
<6> no you don't
<8> yes i do ^^ lol
<6> no you don't
<8> ok you won i dont :(
<6> !+g1
<9> Guideline #1) Don't ask to ask, Don't state: "I have a question", Don't ask: "Is anyone around?" or "Can anyone help?". Just Ask The Question
<2> Hehe.
<10> hello
<10> i have $price which is autocalculated, and maybe make: ABC.XYZ
<11> Warning: Cannot use a scalar value as an array?
<10> how can i round to .X ???
<11> Stormchaser, stfu
<6> lng: watch it
<10> i want only one digit after .
<11> Stormchaser, what?
<8> okok undestood
<6> lng: Pastebin the code.
<11> Stormchaser, url?
<6> !+pastebin
<9> Submit your code to http://hashphp.org/pastebin or http://cpp.sourceforge.net or http://php.pastebin.com then tell us the URL and a summary of the problem. Don't flood by pasting in the channel.
<11> Stormchaser, my code?
<10> ???
<10> guys ?
<10> how do i round it ?
<6> lng: no, mine.
<11> Stormchaser, how to watch it?
<8> I've a query to the mysql server, using mysql_num_rows($query) i get as return the value 2, but when I do a loop while($r = mysql_fetch_***oc($query)) {}, it shows me just one row :S
<6> lng: Pastebin your damn code
<11> Stormchaser, it's too big
<10> anyone will help me ???
<6> lng: just the *relevant* part
<11> Stormchaser, ok
<6> !+func rand
<9> int rand([int min, int max]): Returns a random number
<6> bah
<6> !+func round
<9> float round(float number [, int precision]): Returns the number rounded to specified precision
<11> http://pastebin.com/551335
<11> Stormchaser
<12> ahh
<0> hrm, as a fix will adding if(true){} do anything within a cl***?
<0> or will it just be gone over?
<0> I don't want a huge speed loss lol



<6> lng: it looks okay. Which line gives you the error?
<12> i've narrowed it down, and it's simplexml_load_file that appears to add the before a
<11> $_SESSION['access']['month'] = date("n")
<11> Stormchaser
<12> i've looked in the docs, but nothing about charsets
<11> damn
<12> i've set the default charset with ini_set, but still nothing? what else could it be?
<11> Stormchaser, it works with php5
<11> not 4
<6> lng: Works fine here.
<11> Stormchaser, cant catch the bug - as my session takes an object for some reason
<11> Stormchaser, php4?
<6> lng: yes, php4.
<11> darn
<8> I've a query to the mysql server, using mysql_num_rows($query) i get as return the value 2, but when I do a loop while($r = mysql_fetch_***oc($query)) {}, it shows me just one row :S
<13> Anyone know a way of making a SHA512 hash in PHP?
<13> i really need it for a login system
<11> Stormchaser, will debug it
<11> bye
<6> lng: P***ing object in a session is okay, since the content is serialized, but $_SESSION[$array] is no go.
<6> damn.
<8> lol
<8> late ^^
<6> oh, well...
<8> Stormchaser: no idea about my problem? :(
<6> !+g2
<9> Guideline #2) Don't repeat.
<8>
<8> !+g27
<6> LuiGGi: You're probably rewriting $query.
<8> :o may be, cause i've another queries in the while
<8> so i'm gonna check, then the lunch :P
<14> using global variables is always the best idea right?
<15> any $query = in the loop will reset it
<6> no
<6> ^-- bratty
<14> o
<8> thanks you boy :)
<6> 'boy' he types.
<16> hello folks
<17> thank you boys, the s had moved ;P
<6> 'boys', he typed.
<12> [16:53] <14> using global variables is always the best idea right? <--- o.m.g
<16> anyone has experience with ezPublish.. did you find it as a nice enterprise CMS?
<18> Rich43: Reuse a SHA512 function from somewhere.
<12> mhh, the xml input is iso-8859-1, my doc charset is 8859-1, so why would simplexml_load_file screw abotu with it?
<6> ChrisCalip: noone cares.
<19> is it possible to turn off referer server-side? Like outgoing links, I don't want those webmasters to see what url the link came from, or is it all clientside?
<16> Stormchaser: how come?
<6> ChrisCalip: We don't support 3rd party scripts :P
<20> hello Storm
<6> itrebal: woof
<20> Stormchaser: woof
<16> Stormchaser: I find this channel reliable in advices,.. any suggestions where to find reliable advice in CMS support?
<6> ChrisCalip: google.
<20> why do you use an action every time you say hi?
<11> i've got very weird problem - unwanted stuff is ***ignrf to my $_SESSION['access']. i did search for some code errors, but there's not any.
<20> i *really* need to clean my desk
<6> lng: P***ing object in a session is okay, since the content is serialized, but $_SESSION[$array] is no go.
<20> whats the version difference between your server and yours?
<11> Stormchaser, i don't p*** it
<6> don't p*** what?
<11> Stormchaser an object
<6> lng: PAstebin the *entire* code, then
<11> Stormchaser, wait... i bet it interfere with something
<11> Stormchaser: Smarty
<6> lng: hm?
<21> 8" of snow and still coming on strong in Boston. Ugh. Gotta go plow.
<20> Mr. Plow Mr. Plow
<6> dj_segfault: lol
<13> airox: any pointers on where to find one?
<18> Rich43: Maybe the mhash extensions supports sha512 hashing.
<22> I"m up in Maine we are just getting it now


Name:

Comments:

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






Return to #php
or
Go to some related logs:

(hint: compile the wxWidgets plugin, and make sure it is loaded properly) gentoo
#debian
ubuntu md5 mkpasswd package
#perl
automatix +fail +gaim
#fedora
vitalstream IE6
hpux mod_dav_svn.so
#mysql
#php



Home  |  disclaimer  |  contact  |  submit quotes