#php
10 October 2007
Total 42 pages. You are browsing page 1/42.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
--- Log opened Wed Oct 10 00:00:05 2007
00:00 <****> Naktibalda: so is this a situation of not sending proper 'credentials' in, or am i doing something wrong in handling the response ?
00:00 <****> sedeki: what are you trying and what's not working?
00:00 <****> xrestassuredx, i need to auth NTLM with php....
00:01 <****> what is the function for deleting a file?
00:01 <****> kaffir: I think that is server's error message
00:01 <****> swimrr: unlink
00:01 <****> Naktibalda: thanks
00:02 <****> Naktibalda: so its just a default error msg?? it sucks, i'm not sure where I need to do something different
00:02 <****> can i send you a pastebin link
00:03 <****> xrestassuredx, i'm not understanding the auth?
00:03 <****> actually, I have never seen such error
00:04 <****> hi
00:05 <****> sedeki: i've only ever used it to pass along a windows domain login, but you might want to check this out: http://pear.php.net/pepr/pepr-proposal-show.php?id=396
00:06 <****>var or if i used $var would it pull a global $var
00:06 <****> xrestassuredx, where can i download pear?
00:06 <****> out of interest
00:07 <****> AfroTurf, global?
00:07 <****> cyth: like a var outside my class
00:08 <****> AfroTurf, pass the var into your class
00:08 <****> you don't want the class to rely on a variable outside of it, it breaks reusability, among other things
00:09 <****>somefunction($myvar); ?
00:09 <****> right
00:09 <****> cyth: k thanks
00:09 <****> cyth: can my syntax be just $var inside my class?
00:10 <****>var?
00:11 <****>var would use the class' var property
00:11 <****> cyth: aah now i understand
00:11 <****> thanks
00:11 <****> I should say object's var property actually
00:12 <****>var
00:12 <****>var; echo $var; }}
00:13 <****> sedeki: i don't know; the module i linked says it's finished and accepted, but i don't see it in the list of packages
00:13 <****>hello("world"); //would echo "hi" the "world"
00:13 <****> AfroTurf, var is for php4 :p
00:14 <****> sedeki: never mind, it's right here: http://ntlmproxy.phpmyfaq.de/NTLMProxy.phps
00:14 <****> cyth: ah ok
00:15 <****> cyth: where's the manual for the difference between public/private
00:17 <****> I have an array of objects but when I try to directly reference one of the array elements I get Fatal error: Cannot use object of type Article as array in "...". But when I foreach over them I can, why?
00:17 <****> AfroTurf, look at php5 OOP and then look at visibility
00:17 <****> though visibility is an aweful word for that stuff I prefer encapsulation
00:18 <****> cyth: ah visibilty is what i needed.. thanks again, new to the whole oop thing
00:18 <****> you can't delete a directory unless its empty? is that correct?
00:18 <****> AfroTurf, didn't have to tell me that, I kinda figured it out that you were new
00:18 <****> cyth: done lots of stuff in php but never using oop
00:18 <****> intuition? i dunno... weird
00:19 <****> lol
00:19 <****> does php have any built in versions to remove one element from an array? say... array(1,2,3,4) remove [2] and get back array(1,2,4) ?
00:19 <****> i mean built in commands*
00:20 <****> in version 5 :)
00:20 <****> samuel, yeah look at php.net/arrays
00:20 <****> Hello. I have a date format stored in a database ::gasp:: and I need to convert it to a timestamp. Does anyone know how to do this?
00:20 <****> er php.net/array
00:20 <****> todd-, a few ways, you can use strtotime
00:21 <****> or you can have your database do it for you if your database supports a sql function for it
00:21 <****> cyth: thanks
00:21 <****> erm I was wondering if someone can help me figure out why my php encrypter is getting the wrong answer
00:21 <****> http://pastebin.ca/HckikUb0 (me)
00:21 <****> sure?
00:22 <****> it seems to be encrypting one thing when you first view it
00:22 <****> and then it changes for the 2nd time
00:22 <****> and then it stays there
00:22 <****> I have an array of objects but when I try to directly reference one of the array elements I get Fatal error: Cannot use object of type Article as array in "...". But when I foreach over them I can, why?
00:23 <****> whats the password?
00:23 <****> earlyyy, me
00:23 <****> ( the letters )
00:24 <****> lol
00:24 <****> (i came from dalnet
00:24 <****> dalnet ?
00:24 <****> yeah
00:24 <****> this is freenode
00:24 <****> i came from dalnets #php channel
00:24 <****> it got boring
00:25 <****> lawl
00:25 * comperr hoines dalnet
00:25 <****> *joines
00:25 <****> anyway earlyyy I think it has to do with sessions
00:27 <****> comperr, well the key gets randomly generated each time... when are you starting the session?
00:27 <****> are the headers getting sent already?
00:27 <****> session_start();
00:27 <****> I think the headers are already sent
00:28 <****> damn! boss .... be back in a sec
00:30 <****> is there anything that traces which script is most often run in php? i have free hosting server and i want to see which account is using the most resources, but from linux perspective, every php process looks the same
00:30 <****> but some php proccess are using A LOT of cpu
00:30 <****> but i don't know on which script they are working...
00:31 <****> maybe there is some kind of process usage inside php ?
00:31 <****> hello, I'm having trouble getting results from a soap call using ext/soap in php 5.latest, the odd thing is that I get response from _getLastResponse(), anybody hit this snag before?
00:31 <****> juice`, apache access log
00:31 <****> it won't tell him how much pu it's using
00:31 <****> cpu*
00:31 <****> Venom_X, yeah soap is so painful, Rest is so much easier
00:32 <****> eXeCuTe, no but it'll tell him what he asked for... which scripts are being used the most :p
00:32 <****> back
00:33 <****> front
00:33 <****> cyth: I've gotta use the soap service, what do you recommend? Anything that'll read the wsdl file and allow me to call methods from the respective service without having to parse xml and such?
00:33 <****> Venom_X, soap client?
00:34 <****> cyth: yeah, is there a different one that'll do the job?
00:34 <****> earlyyy, does the fact that headers are already sent change anything?
00:34 <****> Venom_X, probably, I dunno
00:34 <****> anyone use mysqlcc here?
Total 42 pages. You are browsing page 1/42.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
