asp程序转php

asp程序转php

2023年7月3日发(作者:)

asp程序转php常年做web的,⼯作需要,可能有的时候需要将asp代码批量转换成php,最近发现⼀个⼩东西很不错,虽不能100%转换(毕竟是程序),但是⼤⼤提⾼了⼯作效率Asp2Php是⼀个可以将ASP转化成PHP的⼩程序,做web的可能有时会⽤到。Asp2Php使⽤⽅法:单个转换:asp2php ⽂件名

如⽂件名是 那么在CMD命令下输⼊asp2php ⽬录转换:asp2php -dir ⽬录名 -o b如⽬录名为 amznz 那么在CMD命令下输⼊ 参数 b 为存放转换后的php⽂件的⽬录名asp2php -dir amznz -o b以下是详细参数Usage: asp2php <-options> <>

-o -dir (input and output files are directories so copy recursively) -mysql -odbc -oracle -sybase -postgres (to select database) -uid -passwd -database -address -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 in all pages) -fixwinpaths (fix windows paths [ '' becomes '/' ]) -longexternvars (use, for example, $HTTP_POST_VARS instead of $_POST) -fulltags (asp2php will use

发布者:admin,转转请注明出处:http://www.yc00.com/xiaochengxu/1688384794a130048.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信