open/read file/directory and file test

From: Date: Sun, 20 Jan 2002 09:39:52 +0000
Subject: open/read file/directory and file test
Groups: php.general 
Request: Send a blank email to php-general+get-81246@lists.php.net to get a copy of this message
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 || +++++++++++++++++++++++++++++++++++++++++++++++++

« previous php.general (#81246) next »