Filetypes are usualy recognized by first 4 bytes (or so), so you need to
find out what these bytes should be
for dbase files
Plamen Slavov wrote:
Does anyone know if there is a way to tell if a given file is a valid dbase file, using PHP functions ?
--
PHP General Mailing List (http://www.p
Does anyone know if there is a way to tell if a given file is a valid dbase file,
using PHP functions ?
thanks for your help
I have tested that everything works, valid handles, returned method values,
etc.
Line 23 is the dbase_add_record line. Do you know of anywhere there may be
an example
thanks Labhras
"Miles Thompson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
1. Please don't cross post.
2. Which line is #23?
3. Have you tested to ensure that you have a valid handle? ($db_num)
4. Have you tried adding error code to see the result of dbase_create(),
dbase_open()
5. I seem to remember reading in the docs, a long time ago (2 yr) that the
dbase functions
Hi I need to use PHP (ver 4 windows) to add a record to a dBase iv database.
I can create, open, read and close a database but when I try to add a
record I always get the following error:
Warning: unexpected error in C:\php\phpstuff\addTest1.php on line 23
Here is the code [shortened] that I u
anyone ther eused dbase with php.
was looking for best pratices on
searching... any code snippets appreciated.
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi...
how do i use dbf_open() function or other dbf functions in php with apache+suexec? my
php script is
\n";
}
?>
it worked if i changed mode to 777 *.dbf but.. if mode is 700 it couldn't work. i
use apache+suexec with virtual host .
i.e:
DocumentRoot /home/httpd/html
you need to compile php with dbase support...
http://www.php.net/manual/en/function.dbase-create.php
checkout the fourth userpost...
jack
-Original Message-
From: Don Pro [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 1:01 PM
To: php list
Subject: [PHP] dbase functions still
Hi,
Using PHP 4.04pl1
I am getting an error executing the dbase_create function. Th elines of
code are:
if (!dbase_create($export_file, $dbf_def))
echo "Error creating DBF file";
my error message is:
Fatal error: Call to undefined function: dbase_create() in my_prog.
php on line 59
I fou
i am having some issues with dbf files...some fields are being displayed
correctly, some are not.
can someone direct me to a howto or faq that might address these and
other dbf issues?
thanx,
-robt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello Piotr,
(PD == "Piotr Duszynski") [EMAIL PROTECTED] writes:
PD> Fatal error: Call to unsupported or undefined function
PD> dbase_open() in ...
PD> What's the problem?
You'll probably need to re./configure PHP with the --enable-dbase
option.
-Brian
--
PHP General Mailing List (http:
I have a problem connecting to dbase database. I use:
dbase_open("filename.dbf",0) and get from PHP:
Fatal error: Call to unsupported or undefined function dbase_open() in ...
What's the problem?
--
Piotr Duszynski
12 matches
Mail list logo