Juni, It's read the manual time .... http://www.php.net and use the function search box on the top right for "file" and then for "directory". They are separated, and there are a number of functions.
As I don't know Perl I can't answer 3. (I must be morally deficient!) Miles At 04:39 AM 1/20/2002 -0500, Juni Adi wrote: >On Sun, 20 Jan 2002, Juni Adi wrote: > >Hi folks, >After meessing up with installation stuffs, now >it's time for PHP code: > >1. How to tell PHP to open a file like Perl do >through: > > open (FILE, $file); > >2. Same question, this time to open/read a >directory: > > opendir (DIR, $dir); > >and > > readdir DIR; > >3. Do PHP have a file test like -A $file in Perl? > > >Cheers > > >-- >+++++++++++++++++++++++++++++++++++++++++++++++++ >|| Juni Adi || >|| Volunteers Alliance for Saving the Nature || >|| www.arupa.or.id || >+++++++++++++++++++++++++++++++++++++++++++++++++ > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]