[PHP] Re: file_Exists() and case

2008-11-28 Thread Lupus Michaelis
Stan a écrit : The script is running on an UBUNTU v8.04 LAMP server. Case is supposed to matter, isn't it? With a POSIX filesystem only. If you store you're pictures in a fat or ntfs filesystem, case sensitive will not matter. BTW, extension concept doesn't exists in POSIX filesystems,

[PHP] Re: file_Exists() and case

2008-11-24 Thread Stan
Stut, Shouting is something that happens when people are actually speaking and listening. In a medium where there is no other way to emphasize salient points in a message, capitalization is all that works. I'm sorry it offended your sensabilities. realpath() fails, just like file_exists()

Re: [PHP] Re: file_Exists() and case

2008-11-24 Thread Stut
On 24 Nov 2008, at 14:41, Stan wrote: Shouting is something that happens when people are actually speaking and listening. In a medium where there is no other way to emphasize salient points in a message, capitalization is all that works. I'm sorry it offended your sensabilities. It's

Re: [PHP] Re: file_Exists() and case

2008-11-24 Thread Bastien Koert
On Mon, Nov 24, 2008 at 10:02 AM, Stut [EMAIL PROTECTED] wrote: On 24 Nov 2008, at 14:41, Stan wrote: Shouting is something that happens when people are actually speaking and listening. In a medium where there is no other way to emphasize salient points in a message, capitalization is all

[PHP] Re: file_Exists() and case

2008-11-23 Thread Stan
Let me attack this in a different way. This started because my camera names files whatever.JPG and my thumbnail generator generates thumbnail files whatever.jpg. Given my workstation (upon which I edit code and run a web browser) is W2K and my web server is APACHE2 on UBUNTU, I sometimes have to

Re: [PHP] Re: file_Exists() and case

2008-11-23 Thread Stut
On 23 Nov 2008, at 18:53, Stan wrote: Let me attack this in a different way. This started because my camera names files whatever.JPG and my thumbnail generator generates thumbnail files whatever.jpg. Given my workstation (upon which I edit code and run a web browser) is W2K and my web

[PHP] Re: file_Exists() and case

2008-11-23 Thread Nathan Rixham
Stan wrote: How can I do that, please? Do what? Detect, programmatically, FOR SURE and FOR CERTAIN, that a specific file exists. http://uk2.php.net/touch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: file_Exists() and case

2008-11-23 Thread Stan
This thread began because file_exists() WILL NOT tell that a file exists FOR SURE and FOR CERTAIN if the file you check for happens to be named whatever.jpg and whatever.JPG exists. I know this because IMagick then chokes on whatever.jpg because it DOESN't exist. -- PHP General Mailing List

[PHP] Re: file_Exists() and case

2008-11-23 Thread Stan
I do NOT want to create an empty file! Nathan Rixham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Stan wrote: How can I do that, please? Do what? Detect, programmatically, FOR SURE and FOR CERTAIN, that a specific file exists. http://uk2.php.net/touch -- PHP General

Re: [PHP] Re: file_Exists() and case

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 13:12 -0600, Stan wrote: This thread began because file_exists() WILL NOT tell that a file exists FOR SURE and FOR CERTAIN if the file you check for happens to be named whatever.jpg and whatever.JPG exists. I know this because IMagick then chokes on whatever.jpg because

Re: [PHP] Re: file_Exists() and case

2008-11-23 Thread Nathan Rixham
Stan wrote: This thread began because file_exists() WILL NOT tell that a file exists FOR SURE and FOR CERTAIN if the file you check for happens to be named whatever.jpg and whatever.JPG exists. I know this because IMagick then chokes on whatever.jpg because it DOESN't exist. a: you really

Re: [PHP] Re: file_Exists() and case

2008-11-23 Thread Stut
On 23 Nov 2008, at 19:12, Stan wrote: This thread began because file_exists() WILL NOT tell that a file exists FOR SURE and FOR CERTAIN if the file you check for happens to be named whatever.jpg and whatever.JPG exists. I know this because IMagick then chokes on whatever.jpg because it