On Wed, Jul 17, 2002 at 03:55:10PM +0800, Jack wrote:
>
> if (file_exists("c:\\pdf_reports\\dealing\\test.txt"))
> It seems that php can't detect the file in such path!!!
While this isn't your problem, it's nicer coding. Single quotes and
forward slashes:
if ( file_exists('c:/pdf_reports/dealing/test.txt') )
> if (file_exists("c:\\pdf_reports\\test.txt"))
> Then it can detect the file is there! why?
Probably, PHP doesn't have permissions on the "dealing" directory or you
misspelled it.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php