#40383 [NEW]: fdf-functions don't work
| From: | alexander dot schmidt at pc-handling dot de | Date: | Wed, 07 Feb 2007 09:42:39 +0000 |
| Subject: | #40383 [NEW]: fdf-functions don't work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-108531@lists.php.net to get a copy of this message | ||
From: alexander dot schmidt at pc-handling dot de
Operating system: Windows XP
PHP version: 5.2.0
PHP Bug Type: FDF related
Bug description: fdf-functions don't work
Description:
------------
1. Running XAMPP 1.5.5 on Windows with fdf-Support enabled and fdftk.dll
version 5.0 (phpinfo says so), fdftk.dll available in System32 folder.
2. fdf_open("test.fdf"); results in the following error:
"A file system error occurred or the file was not found"
3. Crosschecked with file_exists() and is_readable() and both are true.
Reproduce code:
---------------
if (file_exists("test.fdf")) {
echo "File exists<br>";
if (is_readable("test.fdf")) {
echo "File is readable<br>";
$fdf = fdf_open("test.fdf");
if ($fdf) {
echo "everything is fine, lets go!";
}
else {
echo "Error: ";
echo fdf_error(fdf_errno());
}
}
else {
echo "cannot read file";
}
}
else {
echo "file doesn't exist";
}
Expected result:
----------------
File exists
File is readable
everything is fine, lets go!
Actual result:
--------------
File exists
File is readable
Error: A file system error occurred or the file was not found
--
Edit bug report at http://bugs.php.net/?id=40383&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40383&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40383&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40383&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40383&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40383&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40383&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40383&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40383&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40383&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40383&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40383&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40383&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40383&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40383&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40383&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40383&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40383&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40383&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40383&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40383&r=mysqlcfg