RE: [PHP-WIN] testing to see if a file exists in a directory

From: Date: Tue, 11 Mar 2003 16:41:54 +0000
Subject: RE: [PHP-WIN] testing to see if a file exists in a directory
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-18975@lists.php.net to get a copy of this message
$path_to_file = "http://www.yourwebsite.com/pdf/this_file.pdf; If( file_exists( $path_to_file ) ) { //do stuff } chris kranz fatcuban.com -----Original Message----- From: Herhuth, Ron [mailto:Ron.Herhuth@tatumcfo.com] Sent: 11 March 2003 16:43 To: php-windows@lists.php.net Subject: [PHP-WIN] testing to see if a file exists in a directory How can I check to see if a PDF file exists in a directory on my web server? Thanks, Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#18975) next »