RE: [PHP] Google Chrome

2008-09-09 Thread John A DAVIS
Yeah, my Kerios firewall kept popping up asking me to Permit google something to go somewhere off my computer. Even when Chrome wasn't running. I sure like the skinnyness and the last visited webpage. What can you tell a 500 pound gorilla? probably nothing. "Boyd, Todd M." [EMAIL

[PHP] how to load uneven XML file into an array

2008-06-27 Thread John A DAVIS
I need an array filled with an XML file made from the CSV example below. bactisample row has 14 columns bactiresult row has 11 columns CSV is taken and run through an XML creator (we have no control over this piece). bactisample,20802016AA,OR4195079,DIST-A,A,STATE,OR100033,Kitchen

[PHP] getting funny error on working page

2008-04-15 Thread John A DAVIS
I've upgraded my PHP install and now I get this error in my test environment so I'm scared to load any changes up to the production website where this error doesn't exist. What is funny is the page still runs and lists all the data in correct rows, but with an error for each row right at the

Re: [PHP] getting funny error on working page

2008-04-15 Thread John A DAVIS
=substr($thisdate,3,2);$year = substr($thisdate,6,4); $d =date("M d (D)",Mktime(0,0,0,$month,$day,$year)); Again, thank you! John A. Davis "Daniel Brown" [EMAIL PROTECTED] 4/15/2008 2:14:16 PM On Tue, Apr 15, 2008 at 5:07 PM, John A DAVIS [EMAIL PROTECTED] wrote:[

[PHP] How can I load this XML file into an array? (and. . . how do I reference the values?)

2007-10-26 Thread John A DAVIS
I've found simple examples on the web that work a simple XML file (song, title, etc) but I need one that will parse an XML file into elements of an array. And then, I need to reference these elements to validate against a database. The data has to do with drinking water lab samples: -

Re: [PHP] How can I load this XML file into an array? (and. . . how do I reference the values?)

2007-10-26 Thread John A DAVIS
Residual " [180]= string(49) " " [181]= string(40) " " [182]= string(61) " 2/16/2006 " [183]= string(41) " " [184]= string(80) " TC " [185]= string(43) " " [186]= string(50) " " [187]= string(85) " LOT 9 " [188]= string(7

Re: [PHP] How can I load this XML file into an array? (and. . . how do I reference the values?)

2007-10-26 Thread John A DAVIS
simplexml won't work for our version of PHP. planning on upgrading once we get the new server "mike" [EMAIL PROTECTED] 10/26/2007 4:42:09 PM On 10/26/07, John A DAVIS [EMAIL PROTECTED] wrote: this works: $xml_data = file('xml_edwr2.xml'); var_dump($xml_data); I can get th

[PHP] Re: [PHP-DB] Re: [PHP] Re: the opposite of a join?

2007-10-04 Thread John A DAVIS
left join where item in right table is null "Chris" [EMAIL PROTECTED] 10/3/2007 10:32:01 PM Aleksandar Vojnovic wrote: I would also suggest to limit yourself to things you actually need not to select the whole table.In this case you can't because you're looking for records that exist in

Re: [PHP] Sessions running out of storage space - Increase memory?

2007-10-03 Thread John A DAVIS
stick in in an array in a session "Dan" [EMAIL PROTECTED] 10/3/2007 2:21 PM I need to retrieve a huge amount of data form a database and do so many times. To eliminate the overhead of connecting to the database and pulling down all that info over and over, I'm trying to pull it down only

Re: [PHP] [mssql_connect error] Changed database context to..

2007-08-23 Thread John A DAVIS
That doesn't sound like the whole error message to me, but it does hint that maybe your connection isn't referencing the database correctly with the correct prefixes or USE statement. No expert here. "Liz Kim" [EMAIL PROTECTED] 8/23/2007 4:26:19 PM Did anyone else run into this

Re: Re[2]: [PHP] Reading registry values

2007-07-31 Thread John A DAVIS
2 simple VBA/VB functions that write to specific place in the registry. Here is my library of code on this: GetSetting(App.EXEName, "Properties", strPropertyName) SaveSetting(App.EXEName, "Properties", strPropertyName, Trim(CStr(varValue))) Specific place: HKEY_CURRENT_USER\Software\VB

Re: [PHP] Reading registry values

2007-07-31 Thread John A DAVIS
Hope this isn't overkill but it is a module (read "COM", or "VBA module") to manipulate the registry: Option Compare DatabaseOption Explicit '' Created by E.Spencer - This code is public domain.''Security Mask constantsPublic Const READ_CONTROL = H2Public Const SYNCHRONIZE =

[PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited. We are being asked to encrypt this file for internet transfer. We are also being asked to create a secure process by which to transfer this file across the interent. Currently: the lab

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
So, what is the easiest way to get and installan SSL certificate? "Richard Lynch" [EMAIL PROTECTED] 7/27/2007 1:46 PM On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote: We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited. We are b

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
rdBusiness Practices: System Functions: Supporting Documentation (list attachments): "Richard Lynch" [EMAIL PROTECTED] 7/27/2007 1:46 PM On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote: We have various labs that submit coliform sample results in an ASCII file, quoted/comma del

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
ers to ZIP the files with a password before sending them, which is not so secure but is good enough for many uses. IT all depends on what you want. Satyam - Original Message - From: John A DAVIS To: php-general@lists.php.net Sent: Friday, July 27, 2007 10:21 PM Subject: [PHP] need in