Juni, > 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?
These questions (and more) are answered at http://www.php.net/manual/en/ref.filesystem.php There seem to be many similarities, but sorry can't help with comparisons between Perl and PHP. Regards, =dn -- 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]