[PHP] creating a dBase III file

2002-03-17 Thread Don

Hi,

I need to create a dBase III file however, my ISP does not have PHP compiled with 
--enable-debase.  Does any one have or know of a class that could accomplish this?

Thanks,
Don



Re: [PHP] creating a dBase III file

2002-03-17 Thread Miles Thompson

Don,

Since you are creating this file, you can wrap your character fields in 
quotes. (Surely you can amend it to look after plumbing issues?) They're 
automatically stripped off in the APPEND FROM .. DELIMITED WITH 
delimited. Alternately you can use tabs to separate fields, tildes, 
almost anything.

Miles

At 06:32 PM 3/17/2002 -0500, you wrote:
Hi Miles,

Thanks for your response.  I was thinking of a way to create a comma
delimited file but my problem is that the data might contain commas.
Therefore, and CSV file I create from the data might be corrupted.
Unfortunately, I cannot alter the data in any way prior.

- Original Message -
From: Miles Thompson [EMAIL PROTECTED]
To: Don [EMAIL PROTECTED]
Sent: Sunday, March 17, 2002 2:59 PM
Subject: Re: [PHP] creating a dBase III file


  Don,
  Maybe you can get at it sideways: create a comma delimited file which the
  dBase app can import. Alternately, there are sites on the 'Net which give
  you file structures; dBase is pretty simple as all field are fixed length
  and you'd only have to make certain that you had the header properly
adjusted.
  Miles Thompson
 
  At 02:13 PM 3/17/2002 -0500, you wrote:
  Hi,
  
  I need to create a dBase III file however, my ISP does not have PHP
  compiled with --enable-debase.  Does any one have or know of a class that
  could accomplish this?
  
  Thanks,
  Don
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php