这是帮助,你看看,英文的,我不懂。 Usage: asp2php <-options> <infile.asp> -o <output filename> -dir (input and output files are directories so copy recursively) -mysql -odbc -oracle -sybase -postgres (to select database) -uid <database username> -passwd <database password> -database <database name or sid> -address <database ip address or ip name> -dsn <database ODBC dsn> -pngs (for converting links to gifs into png) -y2k (if your asp came from non-y2k compliant NT Box) -php3 or -php4 (change extension to .php3 or php4 instead of .php) -toupper (change all variables to uppercase) -tolower (change all variables to lowercase) -html (change links to .htm files to .html) -includes (change #includes to php requires()) -addextension .xxx (filenames with .xxx extension get asp2php translated) -spacer (Space out php code differently) -gif2png (use gif2png instead of ImageMagick [-pngs mode only]) -nomagick (don't convert gif files to png [-pngs mode only]) -global_asa (include global.php in all pages) -fixwinpaths (fix windows paths [ '\' becomes '/' ])
Usage: asp2php <-options> <infile.asp>
-o <output filename>
-dir (input and output files are directories so copy recursively)
-mysql -odbc -oracle -sybase -postgres (to select database)
-uid <database username>
-passwd <database password>
-database <database name or sid>
-address <database ip address or ip name>
-dsn <database ODBC dsn>
-pngs (for converting links to gifs into png)
-y2k (if your asp came from non-y2k compliant NT Box)
-php3 or -php4 (change extension to .php3 or php4 instead of .php)
-toupper (change all variables to uppercase)
-tolower (change all variables to lowercase)
-html (change links to .htm files to .html)
-includes (change #includes to php requires())
-addextension .xxx (filenames with .xxx extension get asp2php translated)
-spacer (Space out php code differently)
-gif2png (use gif2png instead of ImageMagick [-pngs mode only])
-nomagick (don't convert gif files to png [-pngs mode only])
-global_asa (include global.php in all pages)
-fixwinpaths (fix windows paths [ '\' becomes '/' ])