[译]asp2php外壳
By robot-v1.0
本文链接 https://www.kyfws.com/applications/asp2php-shell-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 3 分钟阅读 - 1456 个词 阅读量 0[译]asp2php外壳
原文地址:https://www.codeproject.com/Articles/3644/asp2php-shell
原文作者:l a u r e n
译文由本站 robot-v1.0 翻译
前言
A shell application for the asp2php utility.
一个用于asp2php实用程序的shell应用程序.
介绍(Introduction)
好的,这不会改变世界或任何事情,但是我开发了它是因为我需要它,并且我想与大家共享它是因为我们在CodeProject上做到了吗?(OK, well, this isn’t going to change the world or anything but I developed it because I needed it and I figured I’d share it with y’all because we do that at CodeProject right?)
它是什么?好吧,如果您曾经尝试使用(What is it? Well if you have ever tried to use the).asp(.asp*)*至(*to*)*.php(*.php*)*转换工具((*conversion utility (*) asp2php(asp2php) 迈克尔`科恩(Michael Kohn)撰写的文章)可能会遇到与一次性转换整个目录结构有关的相同问题.似乎单个文件错误导致整个转换过程中止.然后,您可以选择一个接一个地转换文件(ugh!)或编写类似的内容(是!).(*written by Michael Kohn) you may have had the same problems I had to do with converting whole directory structures in one go. It seems as though a single file error causes the whole conversion process to abort. Then you have the choice to convert the files one by one (ugh!) or write something like this (yay!).*)
Michael在实用程序方面做得很好,尽管它并不完美,但是当您必须转换网站时,确实可以为您提供一个良好的开端.(Michael has done a great job on the utility and although it’s not perfect it sure does give you a good start when you have to convert a site from).asp(.asp*)*至(*to*)*.php(*.php*)*.(*.*)
使用代码(Using the code)
这里提供的代码并没有像我之前说过的那么激进,但是对于一些不知道如何做诸如递归文件搜索和炮轰其他应用程序之类的人来说,它可能会有用.该代码的注释足够简单,足以让大多数人理解.我想是的,我在这里不做详细介绍^只是看一下并说"大不了"!我知道有很多人在编写代码方面比我更好,因此,如果您发现任何白痴错误,请告诉我…以及任何可以做得更好的事情,如果您可以麻烦告诉我有关它们的信息: )(The code presented here isn’t anything radical like I said before but it may prove useful to some people who don’t know how to do things like recursive file searching and shelling out to other apps. The code is commented enough and simple enough to be understandable by most people. I think so, I’m not going to go into detail here … just look at it and say “big deal!” I know there are a lot of you who are way better than me at writing code so any idiot mistakes you find please let me know … as well as anything that could be done better if you can be bothered to tell me about them :))
致谢(Acknowledgements)
哦,是的…非常感谢Dana Holt(我发誓我以为你是你的名字,是女性)…来晚了,我太累了,无法弄清楚这些东西,他将其发布在CodeProject上,所以我用它:)(Oh yeah … a big thanks to Dana Holt (I swear I thought you were female from your name) for the ‘Browse For Folder" classes … it was late and I was too tired to figure that stuff out and he had posted it here on CodeProject so I used it :))
使用程序(Using the program)
编译程序(或下载发行版本)后,只需将其放在与asp2php实用程序相同的文件夹中即可:)(After you compile the program (or download the release version) just put it in the same folder as the asp2php utility and off you go :))
更新资料(Update)
我终于解决了"路径上的空间"问题.它仍然不会改变您的世界,但是会更好.(I finally got round to fixing the “spaces in the path” problem … it still wont change your world but it’s a bit better…)
历史(History)
- 10(10)日(th)2003年2月-版本1.(Feb 2003 - Version 1.)
- 12(12)日(th)2005年8月-1.1版.(August 2005 - Version 1.1.)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
VC7.0 C++ VC6 WinXP Windows Win2K MFC PHP Visual-Studio Dev 新闻 翻译