$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:[EMAIL PROTECTED] 
Sent: 11 March 2003 16:43
To: [EMAIL PROTECTED]
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





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to