$dirname=”E:/zhanzhongjie/chengbiao-com/chengbiao-com”; $dir_handle=opendir($dirname); while($file=readdir($dir_handle))
To be able to use php code on a page with an extension other than .php, you need a server which supports .htaccess files. To add an extension to be parsed for php, create or edit a file called .htaccess (with the dot first) containing the following line:
Description int fwrite ( resource $handle , string $string [, int $length ] ) fwrite() writes the contents of string to the file stream pointed to by handle .
Description string chr ( int $ascii ) Returns a one-character string containing the character specified by ascii .