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



Comments:

<0> amee2k: errors?
<1> Ahroun, I read about public/private key encryption for ssl...
<0> pookey: other that it not being worth it?
<2> i get an "Parse error: parse error, unexpected T_IF" error on the next code line after it. when i comment it out with // insted of /* */ it works
<3> oh hang on, yes it is, i was calling unset and destroy in the wrong order
<1> Ahroun, is there something similiar I could use for the data within the email... or is there a more secure way
<4> wilsby: Yeah, but those are dynamically generated if I remember right. For a standard encryption/decryption route, you're going to want set keys.
<5> wilsby: thank you, actually, i wonder if there is an IDE that offers some debug function like folowing the parser in the code and be able to see 'live' variables contents
<6> ||cw: what's your justification for that statement? we've a few servers that are nearly melting because our site is overly busy at the moment, I'm wondering if I would reap any speed improvements
<4> wilsby: Check out pecl bigint and pear crypt_rsa
<2> this line actually is an if but when i put something else ther, i get different error messages
<1> is_null, then zend is probably your best bet
<5> wilsby: thank you, is it free ?
<0> amee2k: put a space after /* and before */
<1> is_null, nope, unfortunately not...
<7> does anyone know what i needed to get utf8_decode() working?



<2> nope, doesn't help
<0> pookey: if all your module libs are thread safe it might, but I'd think it minor
<1> is_null, but as I said, I just use quanta atm and all the error messages and debuging stuff turned on in my php.ini
<2> it still throws the interpreter out of sync
<0> pookey: threading is more of a problem on win32
<5> wilsby: thank you, good day
<1> Ahroun, thank you
<0> amee2k: oh I bet it's the /* in the middle then, comment don't honor quoting
<4> wilsby: Or, just write your own implementation of RSA. It's really not hard with the bigint package installed.
<6> ||cw: I don't use windows :) the site doens't use many php extentions, so I'm not sure if that would be an issue. all the stuff on google is so out of date with Php/threading stuff
<0> pookey: it only takes one lib to hose it.
<1> Ahroun, thank you. RSA looks like what I need. (I think my ssl uses it too)
<2> ||cw: but the /* is a start-of-comment. comment also don't honor nested comments so it should be ignored
<8> is_null: Just getting caught up...but Komodo does debugging and lets you follow the parser, and is considerably cheaper than Zend.
<0> amee2k: i wouldn't count on it
<2> ||cw: hm... then this sound like it's worth a bug report
<2> can anyone try if this behavior is reproducible?
<9> Viflux, unless you want RCS support, then its like, not much cheaper at all
<5> Viflux: thank you for your valuable advice :) have a good day :)
<5> Viflux: komodo is for kde ?
<6> ||cw: played with fashcgi much?
<0> pookey: nope
<4> wilsby: If you elect to write your own, you NEED to pick up a copy of Applied Cryptography by Bruce Schnier. There are many details of RSA that are vulnerable to cryptoanalysis unless you pick certain values wisely.
<0> pookey: is it the process spawning that's a problem or what?
<10> Hi... I am getting an error "Call to undefined function: imagecreatefromjpeg()", with PHP Version 4.3.9 compiled '--with-gd=shared'
<9> is_null, Komodo is cross-platform
<9> and pretty damn nice
<10> not sure what the =shared means?
<9> it also supports more syntaxes than ZDE
<5> Davey|Work: thank you :)
<0> Fango: it means make it a loadable module
<6> ||cw: well, our first problem is that hte DBMS is on the same server as PHP, but i'm changing that in the next 24 hours... the sites getting 500 simultanious users and it's really struggling
<4> pookey: Heh, that alone'll prolly fix your problem.
<0> pookey: seperating the db will do wonders. also p[lay with apache's min spares setting so child processes hang around longer
<2> *sigh*
<10> ||cw: does that explain why imagecreatefromjpeg() is not working? Should it just be '--with-gd' ?
<0> Fango: no. load the module.
<11> 500 users is a stuggle ?!
<10> ok
<6> \\yeah, already tweeked that
<11> struggle
<6> Jymmm: the code is ****.
<11> when you get 5000 simultanous users, let me know.
<6> Jymmm: ok, your penis is far better, you win :P
<11> pookey No, just better hardware. But if you want to have a penis size contest, bring your gps
<10> ||cw: load the module at runtime with dl() ?
<9> Jymmm, having that much problem locating it? o.O
<0> Fango: in php.ini
<6> Jymmm: I remember you as the guy that didn't beleive I worked for an ISP, yet got confused when I started to talk about AS numbers ;)
<0> isp'd cutting corners and allowing ****ty code? say it isn't so!
<6> ||cw: heh, I'm the developer for the new stuf, the old stuff is awful ;) it's not directly related to the ISP though
<0> that's gotta be some kind of record, only loosing one user on a netsplit
<12> can anyone help with this please? I have a function to include files for whatever page needs to be shown, so choosepage($page). In that function is just a switch and it includes the correct file. The problem comes with inheriting variables: the included file does not know about any of the parent vars
<9> ||cw, well, you can hardly loose half a user :)
<11> Davey: Locating the tip... curvage of the earth and all.
<12> If I include the file without the function, it gets the vars fine :/
<9> Jymmm, it's only accurate to 3ft, right? That's feet, not mm :P
<11> Davey: +- 30 of avg for most GPSes
<11> 30 feet
<0> thefish: the included file gets the scope of the function
<12> ||cw: thanks



<13> Anyone have any clue if there is a way to alphabetize an array easily?
<12> can you suggest a way around this? should i switch pages without the choosepage function then or is it safe to make the vars global?
<9> DogWater, one of the sort functions should do you :)
<0> DogWater: array_sort?
<13> Call to undefined function: array_sort() ?
<13> yea thats not actually in the manual
<0> thefish: personaly, I code my include files to be cl***es, when you include a cl*** definition from in a function the cl*** def is global. then you don't have chaneg the way the cl*** works when you want to use it from in a function or not
<0> DogWater: something like that then
<0> DogWater: there's a handfull of sorting functions
<12> ||cw: thanks, its something i need to start getting into i suppos
<12> e
<0> thefish: you don't have to actualy do OO code though, you can just use the cl*** like a group of functions and call them like cl***name::myfunc()
<12> ok, and that will solve the variable inheritance thing?
<0> but I've always found "global" code in include files a bit awkward to deal with
<13> yeah, i tried asort and it returned a '1'
<12> ||cw: thank you, i will read up about doing that
<0> thefish: kind of, cl***es also have their own scope, so you'll have to global them, or use $GLOBALS[], in the cl*** methods anyway
<0> DogWater: as it should
<14> I just upgraded from 4.3.1 to 4.4.2 pdf files that used to load in the browser (by setting the header) are now prompting to open/save......any ideas what changed to cause this?
<0> nothing in php should change that
<15> has someone found a use for variable variables?
<16> yeah sure
<14> yes
<15> i avoid them because of code complexity
<0> mick_home: all the time
<15> i have not seen a reason to actually use them
<15> ||cw, example?
<0> i use to reduce code complexity
<14> ||cw: i didnt think so, but I can't figure out any other reason it would have started doing that on multiple machines, and it wasnt doing it earlier today
<0> mick_home: hold on, i'll link one of the most interesting to me
<17> !+var vars
<18> var vars is http://php.net/manual/en/language.variables.variable.php, but by using that you probably have an error in your logic... You should use arrays instead (http://php.net/array)
<15> ||cw, thanks
<19> Yeah, I've never found a reason to use variable variables instead of an array
<15> Storkme, i know what they are
<0> Stormchaser: yeah, not like that
<15> damn autocomplete
<15> Dragnslcr, ya, I'm thinking that I must be missing something - since I have not seen anything so far that couldn't be done in an easier way
<15> (to me)
<0> mick_home: search for "function ExecMethod" on this http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/common_functions.inc.php?rev=1.20&root=phpgwapi&view=auto
<19> mick_home- nope, you aren't missing anything
<12> cheers for the help ||cw
<15> thanks ||cw
<20> Hi folks!
<20> I'm having trouble using an older program written in php.
<0> Dragnslcr: I don't use then in place of arrays either. they are best used with cl***es in plugin based systems
<17> if (! @is_object($$parentobject->$cl***name) ) <-- oh, yeah. Smart.
<20> Is there some kind of compatibility mode for 5.1.2?
<14> we processing data from a csv formatted input......the user could select which order the data was in. the "order selection" field was p***ed as 'first_name;last_name;phone' or 'last_name;phone;first_name" etc, depending on the order....I think exploded that into different variables, so for example, $one = "first_name", $two="last_name"....then I could process stuff as $$one and $$two...and...
<14> ...later, refer to them as $last_name, $first_name......i only needed one block of code to process the csv data, not one block for each possible order
<4> Muhahahaha! Two routers... 4,999,999 more to go and the internet will be under my control!
<20> If I turn display_errors = On, where will it display the errors?
<17> Ahroun: Tat's 4,999,998... you **** at math.
<15> johnfg, on the page that you load
<21> Stormchaser: nah, I just got a new router
<0> chasep_work: actualy, that's a good argument for using an array
<15> johnfg, it is good to turn them on in a dev box, but in production just watch the apache error logs instead
<14> ||cw: well, I cant remember the specifics, but there were a few other caveats that made the variable variables much cleaner and better to use than array
<15> ||cw, i like your example
<0> mick_home: it could use improvement since that's actualy some rather old code
<20> mick_home, Here's one of the errors, but it's only here since I upgraded to Fedora Core 5 and latest httpd and php: return $_GET[$varname]; is said to be an undefined index.
<4> Stormchaser: No, I said last time that I'd conquered one and had five million to go. So I got another one. owned++; notowned--;
<17> said to who?
<4> And because of Gareth... notowned++; /* you ****, Gareth! :P */
<22> what is track-vars used for?
<4> Stormchaser: The channel, yesterday, when there was split. :P
<20> Here's another one of the errors: Undefined variable: modules in /var/www/html/mad-thought/navobj.php on line 11.
<17> Ahroun: If you say so.
<20> That line is: $this->$modules = $module;
<15> johnfg, are you a sys admin who has been asked to put some code on a server :)
<15> just out of curiousity
<20> Yeah, I'm administrating my own server, and am administrator, pastor, etc., etc., ad infinitum.
<17> johnfg: AND a bad coder?
<20> I wondered if it looked like that code is something that is not working because of versions?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

external amplifier ubuntu
Qt decorator is not yet ready
#ldap
initramtools
nick tahoes wiki
#centos
dell m70 cpuinfo
#gentoo
xbindkey gentoo
#web



Home  |  disclaimer  |  contact  |  submit quotes