Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-25 Thread Ken Kixmoeller
THank all of you for your help. I think I got this thing licked. On Wed, Apr 24, 2013 at 7:14 PM, Ken Kixmoeller wrote: > Thank you very much, Jim --- > > > On Wed, Apr 24, 2013 at 5:34 PM, Jim Lucas wrote: > >> On 04/24/2013 03:24 PM, Ken Kixmoeller wrote: >> >

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
Thank you very much, Jim --- On Wed, Apr 24, 2013 at 5:34 PM, Jim Lucas wrote: > On 04/24/2013 03:24 PM, Ken Kixmoeller wrote: > >> Thanks, Jim --- >> >> Is this different from the "max_input_vars" discussion above? (from David >> OBrien) >>

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
Thanks, Jim --- Is this different from the "max_input_vars" discussion above? (from David OBrien) Ken On Wed, Apr 24, 2013 at 5:06 PM, Jim Lucas wrote: > On 04/24/2013 02:40 PM, Ken Kixmoeller wrote: > >> Thanks so much. Yes, we found that because PHP threw an e

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
broken. No errors are being thrown. We are baffled. Ken On Wed, Apr 24, 2013 at 4:23 PM, David OBrien wrote: > On Wed, Apr 24, 2013 at 5:14 PM, David OBrien wrote: > >> On Wed, Apr 24, 2013 at 5:09 PM, Ken Kixmoeller wrote: >> >>> Hey - -- >>> >>>

Re: [PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
ncorrect fix" === I wondered if it was memory handling, but what is it (I wonder out loud) that could be "improper" about my array handling. No error messages are thrown. Ken On Wed, Apr 24, 2013 at 4:14 PM, David OBrien wrote: > On Wed, Apr 24, 2013 at 5:0

[PHP] Updated PHP breaks processing-intense Procedure

2013-04-24 Thread Ken Kixmoeller
Hey - -- I have a huge screen -- to make it simple for the user, it does 100s of calls to MySQL and has 1,000s (literally) of POST variables. We have done extensive research and see that upgrading from php 5.1.6-27 to 5.1.6-39 is the thing that caused it to break. All other issues (Apache, PHP an

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Yes, but no further need. Problem solved. On Tue, Apr 9, 2013 at 4:06 PM, El Ale... wrote: > you probe command system()? > > > > 2013/4/9 Ken Kixmoeller > >> Yes --- it worked. Thank you so very much. I had searched the heck out of >> this to no avail. >&

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Yes --- it worked. Thank you so very much. I had searched the heck out of this to no avail. This is why I think developer communities are so great -- always someone smarter than me (not that it is a high bar ) and willing to help. On Tue, Apr 9, 2013 at 3:05 PM, Ken Kixmoeller wrote: >

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Yes -- Thanks Matjen and Daniel --- There *was* a stray backtick in there. Weird that we haven't run into it before. Testing now. On Tue, Apr 9, 2013 at 2:41 PM, Matijn Woudt wrote: > > > > On Tue, Apr 9, 2013 at 9:11 PM, Ken Kixmoeller wrote: > >> Hi -- - >&g

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
backtick call that error? On Tue, Apr 9, 2013 at 2:39 PM, Daniel Brown wrote: > On Tue, Apr 9, 2013 at 3:11 PM, Ken Kixmoeller > wrote: > > Hi -- - > > > > Strange problem. One of my applications was just moved to a new server. > The > > new server has php confi

[PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Ken Kixmoeller
Hi -- - Strange problem. One of my applications was just moved to a new server. The new server has php configured to blacklist some functions (using "disable_functions="). One of the "banned" functions is exec(). The error log is reporting "shell_exec() has been disabled for security reasons" --

[PHP] Configuration Issue (Error 310 ERR_TOO_MANY_REDIRECTS)

2013-01-09 Thread Ken Kixmoeller
Hey, folks - One of my applications is being moved to a new server. Testing it out, I get the subject error. The error is reported this way in Chrome. In FireFox it says: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." I

Re: [PHP] scroll down list -visible, but not possible to choose

2011-08-31 Thread Ken Kixmoeller
You want: >  if($status == $selected) echo "selected = ' selected' "; (I didn't bother with \s) And BTW, unless the support person is actually sitting on top of the customer (and I can see situations where that would help), you want it to say "Waiting *for* Customer" Ken On Wed, Aug 31, 2011 at

Re: [PHP] Re: Found this and I thought of you.

2011-06-05 Thread Ken Kixmoeller
On Sun, Jun 5, 2011 at 11:44 AM, Jonesy wrote: > On Sun, 5 Jun 2011 00:34:30 +0100, Richard Quadling wrote: >> http://www.exxcire.com/login.php >> >> If nothing more than a good "bad example". > > ROTFLMAO!!!  "Where Experts Exchange" > Sweet Jeezuz! At least they have a cute 404 page. Gotta coun

Re: [PHP] iPhone sadness

2011-05-30 Thread Ken Kixmoeller
On Mon, May 30, 2011 at 11:19 AM, Ashley Sheridan wrote: > Erm,... Most people who use Windows tend not to change basic settings from > their defaults. Erm, most Winders users have no clue *how* to change them, nor that there might be some reason to do so. Ken -- PHP General Mailing List (htt

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 9:08 AM, Mike Mackintosh wrote: > What are the permissions on the include directory? > -- Well, I swear that I had set the permissions to r/w for these directories, but after I did it (again?), now I get a whole *new* set of errors which seem to be about connecting to MySQL

[PHP] Re: iPhone apology - was Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 9:52 AM, Richard Quadling wrote: > On 5 May 2011 15:08, Mike Mackintosh wrote: >> Sent from my iPhone > > Why do all iPhone users apologize for sending mail from their iPhone? 1. Apparently, iphone software top-posts replies. For some people, that alone constitutes a feder

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 5:59 AM, Mike Mackintosh wrote: > Run phpinfo() or php -I and see if the PHP.ini file is being loaded. php.ini shows the include_path correctly, as:   /Users/ken/Documents/Clients/comped_php:/Users/ken/Documents/Clients/jaguar_php Oops, that line was suppos

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Wed, May 4, 2011 at 11:51 PM, David Robley wrote: >> php.ini shows the include_path correctly, as: > If I remember correctly, include and friends have two parts to the error > message but you've only shown us one. For a guess, is it possible the > apache process doesn't have permissions for tho

Re: [PHP] Re: Installing on a Mac: include_path issues

2011-05-05 Thread Ken Kixmoeller
On Thu, May 5, 2011 at 4:40 AM, Richard Quadling wrote: > On 5 May 2011 05:51, David Robley wrote: >> Ken Kixmoeller wrote: >> > include_path should only contain directories, not filenames. [1] Thanks. Yes, both of those are directories. Ken -- PHP General Mailing List (

[PHP] Installing on a Mac: include_path issues

2011-05-04 Thread Ken Kixmoeller
Hey, folks -- -- I am switching over my development (I hope) to a Mac. Having some trouble with the configuration. Rudimentary scripts run fine in the document_root, but beyond that, my scripts in the include_path are not found. The include_path has a couple of directories in which I have my foun

Re: [PHP] Help! Made a boo-boo encrypting credit cards

2011-03-01 Thread Ken Kixmoeller
On Fri, Feb 11, 2011 at 4:42 PM, Brian Dunning wrote: > Hey all - > > I'm using mcrypt to store credit cards into MySQL. About 90% of them decrypt > fine, but about 10% decrypt as nonsense ("b1�\�JEÚU�A���" is a good example). > Maybe there is a character that appears in about 10% of my encrypti

php-general@lists.php.net

2010-06-04 Thread Ken Kixmoeller
Michael Calkins wrote: How is it used for a website then? Some program is using the ID 4 and the value of "cus" to bring up information you requested on a prior page. Probably to query a database for those values. As Ashley said: it is GET ($_GET) data in a URL -- a way to pass values from

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Ken Kixmoeller
Daniel Egeberg wrote: Then get a better email client if yours doesn't support "reply to all" or "reply to group". It's hardly the mailing list's fault that your client doesn't support that. Nonsense. I have used lists like this for many, many years. PHP lists are the only ones I have ever use

Re: [PHP] PHP backup in Minnesota

2010-03-12 Thread Ken Kixmoeller
Thanks to all! I got who I needed. Best regards - -- - Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP backup in Minnesota

2010-03-11 Thread Ken Kixmoeller
Jochem Maas wrote: Op 3/11/10 10:05 PM, Ken Kixmoeller schreef: Hey, folks --- - -- Session-based, no cookies. sessions are cookie based. unless your passing the session id around via a URL parameter, which is a no-no. Ja, bestimmt. I should have said "no persistent cookies&quo

[PHP] Re: PHP backup in Minnesota

2010-03-11 Thread Ken Kixmoeller
Manuel Lemos wrote: Hello, You may want to try posting an offer here to increase the chances of finding somebody. http://www.phpclasses.org/jobs/ You can also look some of the available people on the map of your region: http://www.phpclasses.org/professionals/country/us/ Thanks -- PHP G

[PHP] PHP backup in Minnesota

2010-03-11 Thread Ken Kixmoeller
Hey, folks --- - I have a new system going "live" shortly. Unfortunately, through some client delays (and mine, too, I suppose), we are butting up to a vacation I have planned. My client would like to have a *local* resource PHP person, in case, well I don't know, the whole system starts r

[PHP] Testing HTTPS without certificate

2008-04-23 Thread Ken Kixmoeller
Hi - - - - -- I have a typical setup -- my development machine, a testing server and, of course, the production server. My development machine, of course, doesn't have a Secure certificate, yet I need to be able to test https pages here, before getting to the testing server. (Curren

Re: [PHP] module access rights

2008-04-19 Thread Ken Kixmoeller
Right. Thanks for the links. This type of approach is the basis of my software architecture. Ken (BTW, don't forget to "Reply All" so your reply goes to the list, too). On Apr 19, 2008, at 9:03 AM, Tony Marston wrote: What you are describing is a Role Based Access Control (RBAC) system, and

Re: [PHP] Re: Generating JavaScript menus on-the-fly

2008-03-10 Thread Ken Kixmoeller
l create a JSON representation of your php data structure. Makes "passing" data sets to javascript very easy. Just build your array of allowed options in php, plug the data into your javascript via json_encode() and let javascript build the menu options. Ken Kixmoeller wrote: Hey - - --

[PHP] Generating JavaScript menus on-the-fly

2008-03-07 Thread Ken Kixmoeller
Hey - - -- - -- -- I keep a profile of a user's rights and responsibilities in tables. Since this profile defines what a user can do in the system I am designing, I'd like to build a JavaScript menu navigation scheme. I need it to be driven programmatically, because the Admin users can ad

Re: [PHP] Encryption failing

2008-01-17 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
(forgot to copy the list) On Jan 16, 2008, at 5:08 PM, Richard Lynch wrote: Is it possible that 4% of the time, you have spaces on the start/end of the string, which get trimmed before encryption? In this case, no. In trying to simplify the situation to narrow the possibilities of error,

Re: [PHP] Encryption failing

2008-01-16 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Many thanks, Mike --- yours works great... 0 errors. On Jan 16, 2008, at 9:24 AM, mike wrote: function data_encrypt($data) { if(!$data) { return false; } return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $GLOBALS['config']['salt'], $data, 'cbc', md5($GLOBALS['config'][' s

Re: [PHP] Encryption failing

2008-01-16 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 16, 2008, at 1:28 AM, Andrés Robinet wrote: 1 - Mike is right about first encrypting and then doing a base64_encode (then saving results to DB, cookies, etc). I don't know why replacing " " to "+" for decrypting, though. His other post explains that php didn't seem to like spaces

Re: [PHP] Encryption failing

2008-01-16 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 10:48 PM, Casey wrote: It returns the correct value. If you look at the last example, and run base64_decode on "MDAwMzEwMDI0NDA0MTMyOQ==", you will get "0003100244041329". Oops. "Haste makes crappy programming." Ken -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 11:08 PM, Andrés Robinet wrote: I second that, you should base64 encode values before encrypting and base64 decode them after decrypting to be safe. Thanks for the idea. Like this? Fails 500/500 times on my test. if ($EorD == "D")

Re: [PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 11:08 PM, Andrés Robinet wrote: -Original Message- From: Bastien Koert [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 12:55 AM To: Ken Kixmoeller -- reply to [EMAIL PROTECTED]; php- [EMAIL PROTECTED] Subject: RE: [PHP] Encryption failing are you

Re: [PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 7:06 PM, Casey wrote: Maybe you could echo the results of the failed ones and compare. I did that at first, thinking that "something about these strings might cause the problem." But then I realized: I can't blame the data. I don't have any control over what users use

[PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey --- - - I am in the process of upgrading the encryption technology I am using from (64 bit) blowfish to (256 bit) rijndael. The code (and some explanations) is below, but the results are, um, unusual, and I can't see what I am doing wrong. For testing, I have a program that generates

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 1:17 PM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Aesthetically, though, even though I used the "horizontal" classes, it comes out vertical Never mind (not that you did) -- got it working fine --- -- PHP General Mailing List (http://www.ph

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 10:47 AM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Just wondering, though, if you have ever created PHP code to generate these menus on-the-fly? Never mind === I got it working. (Mechanically) -- Aesthetically, though, even though I used the "horiz

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 11:02 AM, Edward Kay wrote: You may want to take a look at Yahoo's YUI menu: http://developer.yahoo.com/yui/menu/ These can be defined using standard XHTML markup. Thank you --- I will do that -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 3, 2007, at 12:42 PM, tedd wrote: that would be more complicated than just using css with js, like so: http://sperling.com/examples/menuh/ http://sperling.com/examples/menuv/ Why complicate your life? Hey, tedd - - - - I like this tool, and am playing with it -- -- Just wonderin

Re: [PHP] Removing a row from an Array

2007-06-08 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 5, 2007, at 5:20 PM, Richard Lynch wrote: am I missing something (other than a few brain cells)? http://php.net/unset As in, unset($array['goner']); Yup, that's the one. Thanks to you, too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Re: Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 4, 2007, at 3:27 PM, Al wrote: What determines the rows you want to keep? User selection. The array is essentially a "shopping cart"-type of object. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 4, 2007, at 3:29 PM, Peter Lauri wrote: You could use unset() for the rows you don't want to keep. Ah --- yes, that looks like it would do it. I was expecting something to find something array-specific. Thank you, Pater and Roberto -- PHP General Mailing List (http://www.php.net

Re: [PHP] Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 4, 2007, at 2:25 PM, Jay Blanchard wrote: http://us2.php.net/manual/en/function.array-pop.php Thanks, Jay --- I did see that function, but forgot about it when I asked the question. I should have added that *any* array row among many could be the one that needs to be removed. I co

[PHP] Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - - - - - - -- To do this, I am: - looping through the array - copying the rows that I want to *keep* to a temp array, and - replacing the original array with the "temp' one. Seems convoluted, but I couldn't find any function to remove a row of an array. Am I missing something (other t

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 23, 2007, at 7:46 AM, tedd wrote: On Feb 22, 2007, at 10:26 PM, tedd wrote: Print out these three and you'll see your problem. $_SERVER['SERVER_NAME'] $_SERVER['QUERY_STRING'] $_SERVER['REQUEST_URI'] Thanks, Tedd - - REQUEST_URI still generates a "Undefined Index" error SERVER_NAME

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 22, 2007, at 4:33 PM, Jochem Maas wrote: do a var_dump($_SERVER); or phpinfo(); to see what you do have available. 'REQUEST_URI' doesn't show. Now I see the line in the documentation that says "You may or may not find any of the following elements..." How do I find out whether

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 23, 2007, at 12:18 AM, Jim Lucas wrote: diddly.com?id=fred&total=goof First of forgoing the http:// missing, this still isn't a qualified URL Yeah, I was just giving an example of what I wanted. echo $_SERVER['REQUEST_URI']; and see what it returns I said in the post, it

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 22, 2007, at 10:26 PM, tedd wrote: Print out these three and you'll see your problem. $_SERVER['SERVER_NAME'] $_SERVER['QUERY_STRING'] $_SERVER['REQUEST_URI'] Thanks, Tedd - - REQUEST_URI still generates a "Undefined Index" error SERVER_NAME on my testing server returns its IP ***

[PHP] Capture the whole URL

2007-02-22 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - - I must be missing something, but in a URL such as: diddly.com?id=fred&total=goof $_SERVER['PHP-SELF'] gives me the diddley.com part. I want to capture the whole URL. The documentation makes it seem like $_SERVER['REQUEST_URI'] is supposed to do that, but I get an "Undefined Index

[PHP] Sessions working/not

2007-02-07 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - -- - Would anyone be so kind as to un-stick my brain? I can't get sessions to work on my development machine (localhost). They work fine on my testing server (an internal IP). Development: W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2. The php.ini SESSION settings are the

Re: [PHP] Executing scripts from a table

2007-02-03 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 3, 2007, at 9:32 AM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: I'm not putting any core code into tables, just code which generates page content. The access rights to that page content, as well as security code and application objects are not there. That code is o

Re: [PHP] Executing scripts from a table

2007-02-03 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 2, 2007, at 6:59 PM, Richard Lynch wrote: Putting PHP source into MySQL is the WRONG way to go for security and efficiency... Thank you, Richard -- I appreciate your advice. Here is a qualifier: I'm not putting any core code into tables, just code which generates page content. The a

Re: [PHP] Executing scripts from a table

2007-02-02 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Yeah, that was it. Thanks, Thomas. (dang it, I should have been able to figure out that myself!) Ken On Feb 2, 2007, at 11:32 AM, Thomas Pedoussaut wrote: Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Hi, folks -- - - For security and efficiency, I am trying to store PHP scripts in

[PHP] Executing scripts from a table

2007-02-02 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hi, folks -- - - For security and efficiency, I am trying to store PHP scripts in MySQL tables. Only problem: I can't get them to execute. In a template: $php_code = $this->ApplicationObject->GetStoredCode($whichpage); echo $php_code; // doesn't exec

Re: [PHP] Can a class instance a property of another class

2007-02-02 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Thanks to all -- got all of this working fine. Mostly my syntax was a bit off. Your examples helped me mend my ways. Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
OK, Jochem, I adapted your example and got it working. Thank you very much. I am still playing with it to better understand. One thing I don't yet understand is the necessity for the getFoo()/getBar() "handshake," especially the getbar() in the BAR class. That doesn't seem to serve any pu

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Thanks for your help, guys. I had to leave my office last evening before I had a chance to try any of them. I am sneaking in some office time today. I'll let you know (with complete scripts and error messages). Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] Can a class instance a property of another class

2007-01-26 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - -- - Here I am again. Anybody still working on a Friday? I would like to have a class instance be the property of another class, like can be done in other languages. For example: I would like to have a "Connections" class which contains all of the database connection logic and query

Re: [PHP] Creating an array as a property of an object

2007-01-26 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 26, 2007, at 3:08 PM, Robert Cummings wrote: $this->foom_array[$line['WHAM_ID']] = $line; Cheers, Rob. Thank you so much, Rob. That did it. (Kickin' the cobwebs out of my head...) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Creating an array as a property of an object

2007-01-26 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hello, folks -- lurking for a while, first post -- I'm relatively new to PHP but doing database design work for nearly 20 years. I've RTFM'ed (+ books + other resources) a bunch of times but I have a mental block around doing this: I want to have an multidimensional array as a property of