| |
| |
| |
|
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
Comments:
<0> steve_: take your pick <1> Ahroun: jpgraph is pure php, and as long as you are fine with the QPL license you can use it... <2> Narada: I'll check. Thanks <3> et: Ah, it is? Cool. And I need it for a commercial use, I'd need to license. <0> Hmm. <4> Narada, if it does not work, wrap it in a fucntion <0> No I think that's overkill. <0> I will use protected vars. <0> outofjungle_m: Hmm maybe. <3> et: Though if it's in php, I could probably talk my boss into buying the perpetual commercial license. <3> et: ooooooh, thank you for telling me that it was PHP only. muuuuur. I think JpGraph just made a sale. <0> Wait. <0> How do you call a function of the child cl*** from the parent? <5> whats the url to this channels paste bin? <0> php.pastebin.com?
<6> this channel doesn't have a pastebin <5> thanks <5> can someone help me with an array? - http://php.pastebin.com/646364 <7> Dr34mC0d3r: are you quoting your array indexes? <5> dont know how to do that - got a url? <7> Dr34mC0d3r: php.net/tutorial <5> ok <8> Hi men ... well ... Somebody sendme extension sqlite.so Please :) <9> deerme: Um... why don't you go download it yourself? <7> I'm tempted to build it just so I can send him one that won't work on his system. <0> Okay take a look at this: http://php.pastebin.com/646377; How can I access child constants from a parent? This time I have an example to refer to so please modify that if need be. <10> or a working one with a rootkit <3> CryWolf: Or one that contains a sniffer of some sort? ;) <8> because installed (apt-get install php4-sqlite) it does not appear in my system :( <11> Could someone take a look at this for me, and see if they see a problem, comments are included: http://pastebin.com/646376 <7> deerme: if we sent you the file, what would you do with it? <12> deerme: Well, dpkg -L php4-sqlite <0> outofjungle_m: Stillthree? <0> outofjungle_m: Still there I mean. <9> Hm... does PHP 4 even support SQLite? <9> Though that was specific to PHP 5? <7> mizleading: I see a problem. there's nothing there. if it does anything, it's not working as designed. <8> well ... in my windows , i have sqlite (sqlite.dll) in php 4.3.10 <13> Elazar: Yes, PHP4 supports SQLite <7> mizleading: nm, I was on php.pastebin.com. Why do the subdomains mean anything there? <13> CryWolf: They're for creating specific pastebins <8> ... Somebody sendme extension sqlite.so please :P (my pc is a 486, long slow install) <13> In fact, I wish we'd use php. <7> some do. <7> mizleading: print out the queries before you execute them. check to see if they executed correctly. <3> deerme: grab the source and compile it yourself. There's no way to ensure compatibility otherwise. Keep asking and I'm sure someone will oblige you ... and send you a module that will do BAD THINGS (tm) to your system. <13> deerme: The number of people in the world that can compile PHP extensions for windows is in the dozens. <12> Mwaha. No more PHP/Windows extensions. <3> TML: Hey, I compiled big_int for php... of course, the coder was kind enough to provide VS 6.0 and VS .net solution files that allowed easy and quick compilation... so you're probably right. ;) <8> well ... My system is a Cyrix 486 dx2 8mb ram, as you can see is a very long slow compile <3> mattmcc: Lemme finish downloading WinBinder first. :P <7> deerme: if someone were to send you the file, what would you do with it anyway? <3> deerme: Well, want us to throw you a pity party? It seems to me that you have far, FAR bigger problems than accessing a database. <14> variable referencing is like ln -s right? <14> does anyone see a problem referencing a cl***es variables to $_SESSION ? <12> lepine: The manual covers references rather exhaustively. http://php.net/references <14> References can be thought of as hardlinking in Unix filesystem. bingo <14> except, i don't really know the diff between a hard and soft link ... :( <14> any possible problems if referencing an objects variables to a $_SESSION array ? <14> security wise, design wise ... ? <12> Well, there are issues around storing objects in a session that you should be aware of, yes. <14> i wouldn't be storing a whole object ... <14> just dumb values <14> eg, authentication stuff <12> You're aware that the session can't restore those references, right? <14> no, i am not <12> Sessions don't keep things in memory, they serialize data. <14> could you give me a simple example, i'm exactly following you. <14> mattmcc meaning that i would loose the named keys of my arrays ? <12> I don't know what that means. <12> You should probably try posting some code on pastebin. <15> lepine; The ***ociativity of the array will stay intact.. <14> well ... i thought php serialize doesn't keep named array keys ... just numerical
<12> No. <12> All arrays in PHP are ***ociative, serialize handles them fine. <15> lepine; Numeric and string arrays are the same in PHP <7> lepine: I think what happens is that after you serialize, you have a copy of the variable which was previously referenced. <7> lepine: it's easy to test. You don't even need to use sessions, just serialize() and unserialize() <14> so basically, what your saying, is that if my data can survive being serialized ... i will not have any problems with storing some information of a cl*** in $_sesssion <14> it's a simple array, i can be serialized. <7> lepine: that's what I'm saying, but I don't think that's what you were asking <14> well, what i was asking is whether it was a bad idea <14> for security or design reasons <7> you also were asking about references <14> yes, indeed <14> i want to write a cl*** that handles authentiation ... <14> i don't want to have to write to $_session and to my cl*** seperatly ... <14> so having a reference to $_session seeemed like a good idea <7> so have the cl*** write to session. <14> exactly! <7> but that's not what you were originally asking. <14> indeed, i was asking about references because i would prefer letting my cl*** do all the work ... eg $instance -> username = "joe" <16> blah, http://rafb.net/paste/results/hR5Sxw51.html - for some reason, my if-block inside fetch_depend() isn't being triggered (the "Hey, no rows returned!" if-block). <14> would write directly to session <7> lepine: are you trying to use references or putting variables directly in session? <13> Ahroun: Exactly. The developer, in that case, was one of the aforementioned dozens. :) <14> i would like to the cl*** store some of it's own data in session .. in a way that i could write to the cl***es variable directly, and the cl*** takes care of writing to session <7> lepine: so try it <14> yeah, i figured i should do that soon :) <7> lepine: and learn how to ask clearer questions. you tend to jump all over the place. <14> in general? or just this once ? <7> robert_: what line number in the paste are you looking at? <17> hi, how do i write (?<!\$)\$something\$ inside preg_match_all ? <13> IceBreak: What do you mean? <7> lepine: certainly in this case. I don't remember other times. <14> alright, thanks :) <12> More fun than gone fishin? <16> CryWolf: linse 50-56 <17> tml: it gives me a warning when i put it as a regex there <13> IceBreak: What warning? <7> robert_: check your query <17> Warning: preg_match_all() [function.preg-match-all]: Unknown modifier '\' <13> IceBreak: Where did you get that expression from, a perl script somewhere? <17> from somebody <17> i want to match $*$ and not $$*$ <13> IceBreak: You have to delimit expressions. <1> /(?<!\$)\$\*\$/ <1> ... that looks like random keypresses <13> No kidding <17> it doesnt match <17> i put inside this is a $test$ <17> and it doesnt match <1> then say explicitely what you mean by "*" <1> i took that as a literal *... <1> so, what should "*" be? <17> anything <17> between 2 $$ <17> $something$ <1> including newlines, etc? <17> but i want it to be the closest $ $ <17> anything except spaces <1> /(?<!\$)\$\S+\$/ <13> good grief <7> I love ascii art. That's a great bearded clown. <17> good, tnx <1> hmm. <1> actually /(?<!\$)\$[^\s$]+\$/ <17> hmm <17> is still amtches $$blah$ <17> cool <17> now <7> I wonder if /\$[^$\s]*\$/ would work <18> for something called 'regular' they sure can look irregular ;D <17> :) <17> what does #(?<!\$)\$[^\s$]+\$#i mean ? <7> It means you've combined two different expressions which were suggested here, for something that probably won't work as intended.
Return to
#php or Go to some related
logs:
rcbintegrated.com problem +installation +debian +partman* sql server group by hour stock_d_src
ubuntu kernel C Header files Failed to grab lock asterisk #fedora gnome-screensaver fglrx #kernel monitor darkening
|
|