| |
| |
| |
|
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 34 35
Comments:
<0> eml: I should! I'm using WS_FTP <0> wobbles: never heard of a glob <1> and look if there is something like XML <2> purefusion, So it's a non-php related question? <0> eml: not really, just wanted to pick your brains <2> purefusion, =) <3> jtevangelo: package or compiled? <4> is there a quicker way to say if ($foo == 'bara' || $foo == 'barb' || $foo == 'barc' || $foo == 'bard') ? <0> eml: I could turn it into a PHP question... How can I write a PHP script that deletes entire directories? :-p <5> it was compiled <2> purefusion, php.net/ftp (No idea if this exists) <5> do i need to get the xml module for apache? <5> never had to before? <4> something like in_array() but for strings... <5> if there is on <5> e
<6> i'm having php pages not transfer completely, and error log says nothing. any ideas? <6> and it happens on random <0> eml: been to those functions before <3> jtevangelo: you need to recompile with --with-xml <0> I used them to build a few file upload utilities :-D <6> and it's in the middle of dumping some javascript code so it can't be script error either <3> jtevangelo: read http://php.net/xml <7> Bheam: What's your error_reporting and display_errors set to? <6> BigE: error_reporting = E_ALL & ~E_NOTICE <8> Hi! Can i somehow define a superglobal variable? I mean a variable what a function can reach (without giving parameter to the function)?? <7> Bheam: Mmmkay, that ones fine, what about display_errors? <6> BigE: ... it's not generating an error <9> zzz: You can decalre the variable global in the function <9> declare <6> BigE: i don't even know if the problem is apache, php, network or what <7> Bheam: Yeah... I know... so what is your display_errors setting set to? That could be your problem. <7> PHP won't generate an error ifyou don't tell it to. <6> BigE: it's off, production <3> :/ <6> BigE: log_errors = On <8> wobbles: how can i declare it to global? <9> function wibble(params) { global $wibble; function here;} <9> or See the docs for functions <8> and if i declare it out of the function, can i reach it from the function? <6> might be my damn troublesome firewall <2> zzz, global $name; <10> Anyone know a good guide to setting up a php-imap email gateway ? <8> wobbles: oh, it works, thanks! <11> I can't get magic_quotes disabled from code. <11> ini_set( "magic_quotes_gpc", "0" ); <11> ini_set( "magic_quotes_runtime", "0" ); <11> Am I doing something wrong? <12> does any of u guys know an online uml viewer? <13> cyberix: you have to do it from .htaccess. by the time your code starts, the magic is applied <14> hi <14> i ve a question about $_SESSION <14> $_session takes the values of this array from the cookie or from the session in the php server? <13> session on the server <15> session data is stored in a session file on the server. <13> $_COOKIES has the cookies <14> ahh <14> so if the cookie is modified it doesnt change session <16> hei dudes but with php5 it's very difficult to write an abstract handler to manage errors <16> ops php4 sorry <13> pooof: well, if one modified the sesion id cookie, then the session could be lost <15> poof: unless you alter their session id cookie which stores their session id as the name suggests $_COOKIE[session_name()] should never be altered unless you want to alter their session id. <13> or hijacked <15> ||cw is just too fast ;) <14> the thing is that i want to store valuable data in session <14> and i dont want that data altered <17> i hate gcc <15> pooof: they can't alter it unless you have a hole in your security. <15> pooof: or they get access to the session file stored on the server. <11> I did... echo "php_value magic_quotes_gpc 0" > .htaccess && chmod a+rx .htaccess ...and now Apache tells me "500 Internal Server Error" <17> pooof: what kind of valuable information? <17> cyberix: read your logs <14> the resources that the user has <17> thats not "valuable" lol <17> just use session <14> if a user has the privilege to enter a ***tion its checked in the db
<18> can i have a cl*** inherit another, the override the parent's method, but call this same method that's being overriden in the new version <15> cyberix: you must allow overide of those values. <18> (wow, did that make sense?) <14> but any time that user needs a resource a query its made <17> pooof: store the perms in the db, load them into the session when they login <11> row: "php_value not allowed here" <14> winmutt: that is why im asking this <19> lotus: parent::method() <17> lotus_anima: parent:: <17> damn <18> but if that's being called from my current method it'll still work? <15> "php_value magic_quotes_gpc 0" and php_value magic_quotes_runtime 0" will work if you allow override. <17> pooof: that is more or less what session is <14> ? <14> i take it <14> but i was asking preventing a hole in the security <17> pooof: session is as secure as your db is <20> im using php5.1 with apahce2 but on phpinfo it dosent seems i have DOM installed.. how can it be? thanks <17> there is no logical difference between storing the perm info on your webserver or db server <17> if they can access your session data file they can certainly get the login to your db <14> ok then <14> this will make my aplication faster <21> most people using php5 nowadays ? <22> Any good directed graph rendering solutions that play nicely with php4? <22> I want to avoid java if possible <23> jpgraph <15> rddtool... <15> ? <14> see ya thnx for the help <22> Hmmm. I mean graphs <22> in the mathematical sense <22> not a plot <15> jacobian_: what do you want to do? <22> draw a graph <15> so rrdtool will do that..... <22> I have a binary relation on the natural numbers <15> rrdtool* <22> those are graphs in a different sense <22> those are actually plots <22> I'm talking about the mathematical object <22> a "graph" <22> http://en.wikipedia.org/wiki/Graph_%28mathematics%29 <19> jacobian_: graphviz + php extension <15> oooooo <22> thanks skoptelov <24> hello <24> i was wondering how to send an attachment with mail()? <23> Master_Medic, its easier to use one of the pre-made cl***es people have already done for that <23> that way you aren't re-inventing the wheel with encoding it and such <24> where can i find one of those? <25> how do i get every result instead of just the one? $pResults[1]->fetchInto($pRet, DB_FETCHMODE_***OC); <23> Master_Medic, google for phpmailer <26> zaydana: Still having problems with Abstract cl***es? <23> i think thats the one i've used is called <15> $array = $db->getAll($sql); <26> Mine works fine <27> Jemt - yeah <24> ok <25> schweet, cheers row <15> aec26: np <27> Jemt - do you think you could pastebin yours? <26> Sure, sec <25> row, been working arround that for soooooo long! <26> zaydana: http://pastebin.com/711448 <27> oh I am a total idiot... I used "abstract" instead of "abstract cl***" :-) <27> Jemt - can you put variables in an interface? <26> zaydana: Hehe, nice that we have now solved your problem :) <26> zaydana: Nope <27> doh. <27> Thanks for the help then :-) <26> zaydana: You are very welcome :) <28> TML, caffinated <28> a quick question if I may <27> Jemt - you can put variables in an abstract cl*** tho, right?
Return to
#php or Go to some related
logs:
#perl suse/noarch/phpMyAdmin-2.6.3pl1-3.noarch.rpm qeue postfix qemu install over sdl scrolling slow #fedora ooffice2 java gentoo slow pi 100000000000000000000000 #perl interpret _XKB_RULES_NAMES property
|
|