Hi!
You can find the PHP !manual! at http://www.php.net/manual Try searching for open , opendir, readdir .. or whatever other function you're looking for. If that doesn't give you an answer straight away, you could go back to the manual index and find the appropriate category, like Filesystem functions. About question 3, I think it depends on what you want, but it's possible to get the access time of a file; also see chapter Filesystem functions. Also search the manual for preg (if you didn't figure yet) to see how to use perl style regular expressions. bvr. On Sun, 20 Jan 2002 04:39:52 -0500 (EST), 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? -- 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]