Drauka Posted February 7, 2007 Share Posted February 7, 2007 Hi. I try to read the data from a FDF file, but as of now, I was unable to even open it. I'm running Windows XP with XAMPP 1.5.5 (so PHP 5.2.0). phpinfo tells me fdf-Support is enabled and fdftk.dll version is 5.0. When I try the following 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"; } I get the following result: File exists. File is readable. Error: A file system error occurred or the file was not found What am I doing wrong here? Any ideas? Thank you! Link to comment https://forums.phpfreaks.com/topic/37439-fdf-problem/ Share on other sites More sharing options...
Drauka Posted February 8, 2007 Author Share Posted February 8, 2007 Sorry for bumping this, but anyone? Please? Link to comment https://forums.phpfreaks.com/topic/37439-fdf-problem/#findComment-179742 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.