| |
| |
| |
|
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
Comments:
<0> rjune: google search turns up alot to do with that file, go have a read <1> looks like rpms use it for installing extentions <2> NET||abuse: yes it does, but I didnt' see anything describing it <3> ||cw: Thanks man.... Now I am off to the next error.... :) <4> hmmmm... Openbasedirs won't work on symlinked directories.. is this a bug or a feature? <0> rjune: can you read german :) hehehe <2> NET||abuse: nicht so gut <0> rjune: hehe, me either <1> rjune: for me the fact that ll the extention packages use it with the extention file name is descriptioon enough <4> lets say i have '/home/sites/site12/' and i have '/home/sites/www.bla.com/' which is a symlink to '/home/sites/site12' <1> rjune: is it binary or a script? <4> in my openbasedir allowed paths i have both entries <1> JoshX: feature. users can make symlinks whatever they want, which would defeat openbasedir <4> if i include from '/home/sites/site12' it works, if i include from /home/sites/www.bla.com/ it doesnt <0> rjune: do you need to dig into it for any particular reason? <4> ||cw: agreed, but not if BOTH entries are in the allowed paths
<4> ||cw: it should just translate the symlink back to the real path and then check the basedir restriction imho <2> NET||abuse: packaging bug, it's a script not included in the x86_64 version of the distro <0> hnmm, not sure] <4> ||cw: right? <1> JoshX: I do see references to closed bugs where php was changed to check target UID's and such, not sure if its related <3> ||cw: Can you look at something else for me in that same file.... <4> http://bugs.php.net/bug.php?id=31309 <4> that is exactly the bug i'm talking about :) <3> ||cw: It is in cl*** Cookie... The line is $buffer = this->_unpackage($_COOKIE[self::$cookiename]); and I am getting an syntax error, unexpected T_OBJECT_OPERATOR <1> Milligan: $cookiename is a function local var that has the name of the cl*** level var in the Cookie cl*** that holds the name of a cookie? <5> ||cw return -=> Array () <5> ;/ <3> ||cw: To my knowledge it is a cl*** level <5> echo '<pre>'.print_r($_POST, true).'</pre>'; <1> contraventor: then it didn't get a post <1> Milligan: what line is that one <3> ||cw: 49 <1> Milligan: I think you don't want the $ on cookiename <1> member vars are not accessed with $'s <1> Milligan: when you have it like that the $cookiename gets evaluated then uses as the member var name <5> ||cw I`m using -=> $sql1 = "select bloqueio from clientes where id = '{$HTTP_POST_VARS['id']}'"; <5> on fomr method = "post" <5> form* <1> like $foo = 'cookiename'; self::$foo would access self::cookiename <3> ||cw: I really am not sure... It is exactly like the example and I have not made any modifications to that section of the code.... <1> Milligan: then it's a bug in the example. lookup variable variables <3> ||cw: Okay... I will figure it out.... I have never dealt with cl***es this elaborate... <3> ||cw: Okay Thanks... I will do that... <1> contraventor: you've said that, and without actual code I really can't be more help. use lots of print_R's and echo to debug or soemthing <5> ||cw ok <6> Any anyone happen to install apache/php via rpm? Just curious on what options I have for future addons via rpm nowadays, I just install by source as of now. <7> mikefoo: depends on your distro <8> is there a generic way of getting the type of exception thrown? like if pdo throws an exception then i want the string 'PDOException' <8> if i throw an exception i want 'MyException' as the type <8> how can i make that happen <9> Make a MyException cl*** <4> ||cw: hm problem seems fixed # 5.1.2 <9> can make it extend Exception <4> ||cw: need to go talk to my hoster then <8> DepretioN: yeah but what about all those native exceptions that aren't extended from my one <9> what about them ? <8> how do i get the type of the exception thrown if it isn't my own exception <10> Hi <10> why does <?php echo `ontime`; ?> in ontime.php give me the different result that 'ontime' in SSH does? <8> all you get is a message and a code really not the name of the exception <10> aren't they the same things? <8> i hope there is something i am missing <9> catch (Exception $e) will catch any exception ... catch (MyException $e) will only catch your exception ... <8> DepretioN: yeah i am catching exceptions but what i am saying is how to get the name of the exception i've caught <11> im looking for a search script that i can set a directory on... I.E. i want it to search for terms only within that certain web directory... <8> DepretioN: i can get the message and the code <11> does such a thing exist? <10> why does <?php echo `ontime`; ?> in ontime.php give me the different result that 'ontime' in SSH does? <11> well i know it exists... but but where? <8> repeat every 10 seconds <8> and you will get your answer <10> :> <10> my mistake <10> :) <12> Hi all! <8> maybe i have to use the reflection cl***?
<12> Can somebody help me? What exactly does /window 3 <12> Oops :-) <9> you need a function in your MyException cl*** that returns that so in your MyException cl*** have a method called getMessage() ... then you can catch (MyException $e) and use $e->getMessage(); or whatever ... <8> sigh <12> I meant to say: What exactly does "Warning: Illegal offset type" mean? <8> nm <8> i need to return __CL***__ actually fri <8> s/fri/fyi/ <13> it means you're trying to use something other than a string as an array key <13> well, string or int <9> yeah, if you want <11> im looking for a search script that i can set a directory on... I.E. i want it to search for terms only within that certain web directory... <11> anyone? <14> recursion, opendir(), readdir() <14> and regex <9> but you should only catch all Exceptions if you want a common thing to happen with them no matter what exception it is... you dont want to be in your catch blocki going if the exception is this one.. do this, if its that one do this ... so the exception cl*** name is a bit irrelevant <15> mindamp: Look at Beagle, cLucene, UAMI, and mnogosearch. <3> Can someone look at this particular snippet of code and tell me why is it is failing out if the cookie does not exist. It is at http://pastebin.ca/41614 <15> Milligan: Well, at first glance, you forgot a $ on "this" <3> TML: Thanks.... That got it... I looked at it so long I got tunnel vision.... <11> TML.. beagle is an application.. not a php search script.. <11> TML... cLucene is C+ based... <11> i need a search script that will only search a certain directory on the server... <11> in PHP <1> mindamp: so write one, or search freshmeat <14> writing a recursive function to search a directory and sub directories (i ***ume that's what you want) for files containting "foo" in the name or say text files containing "foo" in them isn't that difficult to produce yourself <1> yeah, there's probably an example in the dir() docs <16> I have post max size, upload limit, and memory limit set to 24MB in php.ini and i've rebooted. What other parameters could cause a php doc to fail when you upload a large 2mb file? My apache's httpd.conf appears to have no filesize limit fields, and i have added LimitRequestBody to 0 but it doesnt help. Please help! <11> hmm <11> well could someone point me to an example? <14> sure, i'll give you one i wrote. <11> ... <15> mindamp: There's no such thing as a "PHP search script". What you need is an external application that implements a search engine, and a PHP script to access the search engine results database. <11> TML... so your trying to tell me that PHP can't search through a web directory for file or text containing certain words... <11> cause thats just incorrect <15> mindamp: I'm telling you that no one has created such a thing because it'd be asinine to do so when there are so many powerful and well written open source search engines. <11> TML... such as... <16> anyone? im desperate <15> mindamp: Look at Beagle, cLucene, UAMI, and mnogosearch. <11> TMl... those are all software based... <15> mindamp: Yes, any good search engine will be. <17> Drawing a blank--easiest way to see if an array contains a value? <15> myconid: php.net/in-array <18> i thought isset would do that <15> That would check if a key exists, not a value <18> ah okay <15> isset($array['someKey']) <18> key is the first part? and a value belongs to that key? <15> $array['someKey'] = 'someValue'; <17> Array(50,20,20,10); <17> how do I know if I have 10 in there <15> myconid: php.net/in-array <17> thx <15> What, you didn't believe me the first time? <12> What exactly does "Warning: Illegal offset type" mean? <15> rapha: $array[something_that_can't_be_an_offset] <19> hey guys and gals <7> if you have an array of with keys 1 and 2 <7> and you reference $array[3] thats an illegal offset <8> what does the ! mean in the ban regex? <15> Jy: Not illegal offset, illegal offset *TYPE* <15> Narada: nick!restofhostmask <18> wow in-array is fun! <20> Narada, nick!ident@host <8> ah <15> rapha: For example, you cannot have an object as an array offset <15> rapha: cl*** a { function a() { }} $a = new a(); $b[$a]=1; <-- generates an illegal offset type warning <12> Thanks TML! <12> That explains a lot of strange behaviour, too :-) <3> I have posted a page at http://pastebin.ca/41617 of the actual form that I am needing to execute. How can I modify the try/catch exceptions to where if the variables are not NULL run the try otherwise continue and not run the try statement... Does that make sense? <3> 617/back <3> I am just trying to emulate the isset functionality mroe or less....
Return to
#php or Go to some related
logs:
#python marlyin monroe quotes rewriterule ungreedy regex quiznos+font svn symbol lookup error Ssl_load_error_strings sendmail other queue dir The host or user argument to GRANT is too long ubuntu usplash vanilla #math #perl
|
|