Re: [PHP] compress data before inserting into mysql record?

2004-03-04 Thread Daniel Daley
Christian Calloway wrote: I had a small question concerning how MySQL stores text and longtext fields. Long story short, I have to store a large amount of textual data, and was wondering if I should compress said data and then store it in the db, or does MySQL already concern itself with

Re: [PHP] PHP5 COM get/set property trouble

2004-03-03 Thread Daniel Daley
$comobj = new COM('MyComlib.ComLib'); // Works $comobj-FieldValue = somedata; // Works $myval = $comobj-Property(Record);// Kind of Works.throws an exception if the value doesn't exist $comobj-Property(Record) = otherdata; //

[PHP] PHP5 COM get/set property trouble

2004-03-02 Thread Daniel Daley
Hi, I'm having difficulty trying to use the com extension in php5. Here's the asp equivalent of what I'm trying to do. Set comobj = Server.CreateObject(MyComlib.ComLib) comobj.FieldValue = somedata myval = comobj.Property(Record) comobj.Property(Record) = otherdata My php code looks like this: