Well, the thing is, it sounds like PDFlib isnt programmed well? or perhaps
there is a limitation in something they used...
because, sure, windows uses C:\windows\system\blah\folder\ but you can do
any of the following (this is the output from the command prompt: windoze
cmd.exe
C:\>cd windows/sys
I found the problem: PDFlib is expecting the file name to be in the
proper format for the system (Linux or NT). This is my patch:
$workdir = getcwd();
if ($use_unix)
$cl_absolute_image = $workdir . "/tiff/" . $cl_image;
else
try removing the dot and /
so
if (is_file("filedir/test.txt")) echo "Found it!";
else echo "Not found";
that should work on windows and unix platforms, i dont think windows likes
the single dot, but you can use relative referencing, by just using the
directory name.
--
Luke
"Todd Cary" <[EMAIL
The \filedir is under the phpcode directory
c:\webroot
|
|--\application
|
|--\php_code
|
|--\filedir
Eric Bolikowski wrote:
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I moved an application from Linux to my Client's NT system and is_file
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I moved an application from Linux to my Client's NT system and is_file
> cannot file the file on the NT system. My directory structure is as
> follows:
>
> c:\webroot
>\application
> \php_code
>\filedir
>
>
5 matches
Mail list logo