<? // asp-style tags are okay in php 3.0.4 and above; some html editors recognize these tags // file upload script for php/3 for windows // released under the terms of the public gnu license // based upon code written by rasmus lerdorf // modified for windows by michael grier // e-mail: bigmike@bigmweb.com // you need to write-enable a directory, named "upload", below the one you place this script in // on windows nt, you can do this with a dos program named cacls // directions for this can be found at "http://www.bigmweb.com/home/cacls.html" if($action1){ // if files have been uploaded, process them ?> <html> <head> <title>file upload results</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#ffffff" text="#000000"> <p><font face="arial, helvetica, sans-serif"><font size="+1">file upload results</font><br><br> <? set_time_limit(60); // make reasonably sure the script does not time out on large files  ... 下一页