Am 30.01.2012 08:16, schrieb Reg gie:
>
> A little more information:
> The file is a .png, e.g.: image.png.
What is the exact parameter you pass to the function (means: do you just
put the file name in and expect it to be resolved via the automatic
search paths or do you give it a full path)?
Even better post a minimal code snippet which shows it so that we can
reproduce, something like that
Code:
<?php
$filename = '/path/to/image.png';
if (file_exists($filename)) {
echo "The file $filename exists";
} else {
echo "The file $filename does not exist";
}
?>
where you show the real path instead of the dummy I posted now.
I will test it later when I have access to my PC.
--
PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
nVidia ION | 3GB Ram
Bookmarks