PHP作为桌面编程语言 [英] PHP as a Desktop Programming Language

查看:126
本文介绍了PHP作为桌面编程语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是一个程序员,PHP很适合我.有时我发现我需要做一些事情,例如在计算机上大规模地排列文件或重命名文件.而且我认为我可以使用PHP来做到这一点,但是我当然不能.

I'm not much of a programmer, PHP is where I'm comfortable. And sometimes I find that I need to do things, such as arrange files or rename files on a mass scale on my computer. And I think I could do this with PHP but I can't of course.

所以我很好奇,有没有一种方法可以将PHP文件作为exe文件运行.

So I was curious, is there a way I could run PHP files as kind of exe files.

使用Windows非常重要.

Fairly important point, using Windows.

推荐答案

只需使用php.exe(将其放在路径中)和要执行的php文件的名称

just use php.exe (put it in your path) and the name of the php file you want to execute

这篇关于PHP作为桌面编程语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆