php-windows | 2002071
Date: 07/10/02
- Next message: David Elliott: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Previous message: Jack: "[PHP-WIN] How to dectect if a file exist in specific Folder"
- In reply to: Jack: "[PHP-WIN] How to dectect if a file exist in specific Folder"
- Next in thread: David Elliott: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Reply: David Elliott: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Reply: toby z: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
RTFM!!!
bool file_exists( string filename) - returns TRUE if
the file specified by filename exists; FALSE
otherwise.
--- Jack <nedcor4 <email protected>> wrote:
> Dear all
> I had a folder which contain some pdf report, the
> name of the Report will be
> :
> xxx.xxx.20020702.pdf.
>
> Here is what i want to do :
> 1. there will be a Form let user to submit the date
> of reports that he / she
> wants to view.
> 2. the php will get the xxx.xxx from a mysql
> database and add the date at
> the end of the string as the file name.
> 3. If the filename exist in that specific folder,
> then it will show a
> hyperlink for each exist report, otherwise nothing
> will shows up!
>
> I want to know how i can use php to detect if such
> file is exist in that
> specific Folder?
>
> --
> Thx a lot!
> Jack
> nedcor4 <email protected>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: David Elliott: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Previous message: Jack: "[PHP-WIN] How to dectect if a file exist in specific Folder"
- In reply to: Jack: "[PHP-WIN] How to dectect if a file exist in specific Folder"
- Next in thread: David Elliott: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Reply: David Elliott: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Reply: toby z: "Re: [PHP-WIN] How to dectect if a file exist in specific Folder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

