Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Daniel Brown
On 6/18/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: > On 6/18/07, Jim Lucas <[EMAIL PROTECTED]> wrote: >> First off, don't jack someone else's thread. > >Am I not getting all of the list messages today? I didn't see > where the thread hijacking occurred > -- Jim Lucas

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Jim Lucas
Daniel Brown wrote: On 6/18/07, Jim Lucas <[EMAIL PROTECTED]> wrote: First off, don't jack someone else's thread. Am I not getting all of the list messages today? I didn't see where the thread hijacking occurred -- Jim Lucas "Some men are born to greatness, some achieve greatne

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Myron Turner
Jim Lucas wrote: First off, don't jack someone else's thread. Secondly, I think it might have something to do with the space in the file name. Try changing all spaces to %20 and see what happens. $string = str_replace(' ', '%20', $string); should do the trick -- Jim Lucas "Some men ar

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Daniel Brown
On 6/18/07, Jim Lucas <[EMAIL PROTECTED]> wrote: First off, don't jack someone else's thread. Am I not getting all of the list messages today? I didn't see where the thread hijacking occurred -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Jim Lucas
Myron Turner wrote: I've written a plugin for DokuWiki which uses the following DokuWiki function for reading files: function io_readFile($file,$clean=true){ $ret = ''; if(@file_exists($file)){ if(substr($file,-3) == '.gz'){ $ret = join('',gzfile($file)); }el

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Myron Turner
Edward Vermillion wrote: On Jun 18, 2007, at 3:30 PM, Myron Turner wrote: I've written a plugin for DokuWiki which uses the following DokuWiki function for reading files: function io_readFile($file,$clean=true){ $ret = ''; if(@file_exists($file)){ if(substr($file,-3) == '.gz'){ $ret = join('

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Edward Vermillion
On Jun 18, 2007, at 3:30 PM, Myron Turner wrote: I've written a plugin for DokuWiki which uses the following DokuWiki function for reading files: function io_readFile($file,$clean=true){ $ret = ''; if(@file_exists($file)){ if(substr($file,-3) == '.gz'){ $ret = jo