IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.55 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-11
Pages: < Prev
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Next >
[02:22]<rrppygrvnm>richardlynch: yeah, because there is no other way to fuck up with a typo.
[02:22]<slragguvs>I refine it as "register_globals on" might lead to more vulnerbility issues (when executing badly written code) compared to when it is turned off
[02:22]<zdzxzzmfdgzx>yenn: Host it yourself. Nobody wants big files. They'll give you big bandwidth, but not big files.
[02:22]<rrppygrvnm>richardlynch: using that as your main defense is pure idiocy
[02:22]<grvxn>ok... I'm trying to determine if a value is a member of a class, and not inherited from the parent... it's going to be passed in a varible...
[02:23]<grvxn>php5
[02:23]<rrppygrvnm>spacenuts: putting a crappy programmer in front of any language under any conditions may lead to a vulnerability.
[02:23]<dggg>richardlynch well not thaaat big, just like 750 mb ;-)
[02:23]<zdzxzzmfdgzx>Sigh. Most other typo mistakes get caught way earlier.
[02:23]<zdzxzzmfdgzx>yenn: You're still in the "host it yourself" category. Sorry.
[02:24]<grvxn>I tried using if ( ! isset(self::$foo) ) { //call parent} else { //it is specific to this class }
[02:24]<grvxn>and that didn't work
[02:24]<rjrunjnmy>yenn: Bittorrent?
[02:24]<rrppygrvnm>richardlynch: oh? if ($storedUserPass = $submittedPass) { echo "woot! you have access!"; } // typo causing extreme vulnerability
[02:24]<zpzzznff>caffinated, what are we talking about\
[02:24]<slragguvs>caffinated, yes I know, but I want to somehow oblige the none-usage of registered globals
[02:24]<dggg>RogueJedi i host animal rights videos, and i don't want to bother people with technical stuff :P
[02:25]<grvxn>heh
[02:25]<rjrunjnmy>yenn: Find a new compressor? :-P
[02:25]<zdzxzzmfdgzx>caffinated: And your QA doesn't catch that?
[02:25]<grvxn>anyone have an idea?
[02:25]<rrppygrvnm>richardlynch: mine does, sure. but it would also catch a typo in a variable name too.
[02:25]<rrppygrvnm>richardlynch: you know, unit testing and all that.
[02:26]<svjzdzxzsnz>Kitty!
[02:26]<cdvvdrgdr>*CRASH*
[02:26]<cdvvdrgdr>mew O_o;
[02:26]<dggg>the problem is.. i had a hoster, until a few hours ;-) he told me that 1.5 tb a month is slightly too much, even he has "unlimited traffic" on his page
[02:26]<slragguvs>yenn: I think I saw one of those a while back, with 5 things why not to take pets ;)
[02:26]<sxzzypp>If you install something via: "pecl install extension" can you then immediately use the extention installed, like with PEAR or is pECL only to get the extension so you can install it via configure?
[02:26]<zdzxzzmfdgzx>caffinated: Yes, unit testing and all that.. Might, or might not, catch the un-initialized variable.
[02:26]<slragguvs>yenn: or 5 ways in which humankind mistreats animals or something like that
[02:26]<rrppygrvnm>richardlynch: it most definatly would.
[02:26]<cdvvdrgdr>Stormchaser: how ya been? ^_^
[02:27]<svjzdzxzsnz>kittyanya: Got 2 new pages done, while you weren't here :)
[02:27]<cdvvdrgdr>aw sweet ^_^ sorry, was working on my site to get my comics automated
[02:27]<grvxn>kittyanya: ooooooo
[02:27]<svjzdzxzsnz>kewl :)
[02:27]<grvxn>comixxeses?!
[02:27]<dggg>spacenuts maybe you've seen the documentary "earthlings"
[02:28]<slragguvs>yenn: hmm sounds familiar
[02:28]<grvxn>kittyanya: url? <-- comic junkie
[02:28]<cdvvdrgdr>http://kittyanya.elimyan.net/comics/goatee/ <== there's only 2 and he's not connected to the site yet officially
[02:28]<pzrgac19>does it make sens to use stream_socket_pair with pcntl fork like the example on php website but with more than 1 child ?
[02:28]<cdvvdrgdr>just be careful. if you go to the other comics in the comic sect, I'll be heavily working in there :P
[02:28]<slragguvs>richardlynch, well I will just wait and see what the server owners have to say, otherwise I am moving over to another host
[02:28]<mzzcz9q>franck34: It makes no sense to use pcntl_fork in a web server context. Use it only in CLI
[02:28]<zdzxzzmfdgzx>franck24: It doesn't even make sense to use pcntl on a web environment. http://php.net/pctnl
[02:29]<grvxn>Anyone have an answer or even a hint on that OO question?
[02:29]<mzzcz9q>hmm, great minds think alike and fools rarely differ, richardlynch :)
[02:29]<pzrgac19>MarkR42: richardly: if i ask the question it's to make a daemon, not in a web environnement
[02:29]<slragguvs>nathe, sorry I don't have enough PHP5 OO experience, alot of things changed since php4
[02:30]<zdzxzzmfdgzx>franck34: Sorry. We saw "pcntl ... on website" and jumped the trigger.
[02:30]<zpzzznff>this error (non PHP) makes no fucking sense at all
[02:30]<pzrgac19>MarkR42: richardly: strace tell me the first child received a message from a parent but php tell me only the last child received the parent message
[02:30]<grvxn>franck34: depending on what your doing, I'm using popen() personally
[02:30]<slragguvs>jfarrell, for security reasons always include (kill_self off)
[02:31]<zdzxzzmfdgzx>franck34: It would not surpirse me that "pair" only works with 2 and not 3 :-)
[02:31]<zpzzznff>ohh the only people i wanna kill is the people who wrote the .net mysql connector and the documentation for the afore mentioned
[02:31]<grvxn>damn. :/
[02:31]<slragguvs>jfarrell, and those people are? Microsoft?
[02:31]<zpzzznff>tell me spacenuts how can a variable that is null be associated with something
[02:32]<zpzzznff>spacenuts, they would be the programmers working for the MySQL open source connector project
[02:32]<zdzxzzmfdgzx>jfarrell: And the .net and mysql people are where? They ain't here.
[02:32]<pzrgac19>richardlynch: yes, i think it's what happend. What i don't understand is strace, i really see my third child received the message !
[02:32]<zpzzznff>richardlynch, oh hush. Im a regular, im just venting
[02:32]<slragguvs>jfarrell, don't know, mostly a variable which is null, is equal to an unset variable
[02:32]<zpzzznff>notice i havent asked for help, im just venting
[02:32]<pzrgac19>nathe: popen is not appropriated in my case, thanks
[02:32]<zpzzznff>spacenuts, precisely
[02:33]<slragguvs>strange, mysql has nothing to do with MS
[02:33]<slragguvs>somehow .net and bad documentation made me think it was MS who did it
[02:33]<zpzzznff>and mysql has nothing to do with Linux, it just runs on it
[02:33]<zpzzznff>as it runs on Windows and BSD :)
[02:33]<zdzxzzmfdgzx>franck34: Weird... Maybe check with PHP-General and escalate to http://bugs.php.net if nobody answers.
[02:33]<grvxn>anyway last time before I bugger off and try to bang my head against the wall... anyone have a clue how to check if a property is set in one class, but not in it's parent?
[02:33]<slragguvs>jfarrell, correct, and PostGreSQL is much better than MySQL (which is a little bit crappy)
[02:34]<zdzxzzmfdgzx>nathe: get_class_* in the manual might have it...
[02:34]<pzrgac19>richardlynch: i'm checking php-dev & php-general first, thanks
[02:34]<sxzzypp>Has anyone managed to install the vpopmail extension in php5?
[02:34]<zpzzznff>meh, I dont know PG, a bad reason for not using it I know, but it will do for now
[02:34]<grvxn>richardlynch: yeah but iirc that returns all members including inherited ones
[02:34]<slragguvs>as someone (Jeff Waugh) once stated: LAMP stands for Linux - Apache - Most of the cool scripting langauges starting with a P - PostgreSQL
[02:35]<zdzxzzmfdgzx>nathe: Well, you could then call it on the parent, and array_intersect (?) and know which ones were "new" on the child.
[02:35]<grvxn>richardlynch: i'm trying to check to see if it's specific to self::, and then if not pass it down to the parent to do the same
[02:35]<grvxn>hmm
[02:35]<zdzxzzmfdgzx>nathe: No, I mean call the get_class_* function on child and parent and compare results.
[02:35]<grvxn>yeah I see that.
[02:36]<grvxn>with the array intersect
[02:36]<zdzxzzmfdgzx>later all
[02:36]<slragguvs>jfarrell, if you make a good layered system, switching to another database later is just a matter of rewriting the lower layer (the one that communicates with the database)
[02:36]<slragguvs>richardlynch, bye and thanks
[02:36]<zdzxzzmfdgzx>And re-writing all the SQL queries taht just plain don't work or whose performance sucks in the new db... :-) :-) :-)
[02:37]<slragguvs>the queries should be in that layer ofcourse, and rewriting is an issue indeed, that is why PostGreSQL rocks so hard, it uses only standard SQL as far as I know
[02:38]<mzzcz9q>franck34: My guess is that you're trying to do something with PHP which doesn't lend itself very nicely to the language. Consider either kicking off multiple copies of PHP with a shell script, or some other approach. Maybe PHP embed is a good idea, but its docs are scant.
[02:38]<slragguvs>I am gone
[02:38]<slragguvs>thanks for all the info
[02:38]<slragguvs>cya
[02:40]<zpzzznff>sigh well i have isolated the problem area, but how to solve it
[02:40]<zpzzznff>the error doesnt make sense to begin with







