Afficher un message
Vieux 07/10/2007, 20h33   #3
Brendan Gillatt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: filemtime(): stat failed for file.jpg

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erik Kullberg wrote:
> I get a warning message from filemtime() that looks in principle like this:
> "stat failed for picture.jpg on line xxx"
> filemtime($filename) then comes out empty.
>
> This happens in a loop over all files (not only jpg) in a directory - the
> same result for all files.
> The files are definitely there.
> What is wrong and how can it be cured?
>
> Would appreciate some !
> / Erik
>
>
>


You may have permission problems with the file. Make sure it is readable
to whichever user apache runs under. Can you open the file to read okay?

- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?...rch=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFHCTRvkA9dCbrNdDMRAhDHAJ0YoBCjrJ3tUI051mqHgh NUklWcMgCeNyUA
syGMlt82hn1+5mxcLjI61/w=
=LQ/j
-----END PGP SIGNATURE-----
  Réponse avec citation
 
Page generated in 0,05140 seconds with 9 queries