有没有办法在非.php文件中初始化php? [英] is there a way to initialize php in non-.php files?
本文介绍了有没有办法在非.php文件中初始化php?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
对于我们公司添加的每个新用户,我们会将 firstname.lastname@ourdomain.com 转发给他们的个人地址。因为这是一个非常手动的过程,我宁愿这个垃圾是自动自动的,因为很有可能出现人为错误。
目前,持有的文件所有的电子邮件地址都是这样的...
它是这样开始的:
for every new user our company adds, we give them firstname.lastname@ourdomain.com that forwards to their personal address. as is, this is quite a manual process and i''d rather that this junk is self-automated as there is a great possibility of human error.
currently, the file that holds all the email addresses looks like this...
it starts off like this:
展开 | 选择 | 换行 | 行号
推荐答案
嗨。
该文件是如何执行的?
理论上文件扩展名无所谓。
如果通过CLI执行此操作,则文件扩展名无关紧要。就像在Linux中一样,你应该能够这样做:
Hi.
How is that file executed?
Theoretically the file extension shouldn''t matter.
If this is executed via a CLI, the file extension wouldn''t matter. Like in Linux, you should be able to do:
展开 | 选择 | Wrap | 行号
嗨。
该文件是如何执行的?
理论上文件扩展名无所谓。
如果通过CLI执行此操作,则文件扩展名无关紧要。就像在Linux中一样,你应该能够这样做:
Hi.
How is that file executed?
Theoretically the file extension shouldn''t matter.
If this is executed via a CLI, the file extension wouldn''t matter. Like in Linux, you should be able to do:
展开 | 选择 | Wrap | 行号
嗨。
该文件是如何执行的?
理论上文件扩展名无所谓。
如果通过CLI执行此操作,则文件扩展名无关紧要。就像在Linux中一样,你应该能够这样做:
Hi.
How is that file executed?
Theoretically the file extension shouldn''t matter.
If this is executed via a CLI, the file extension wouldn''t matter. Like in Linux, you should be able to do:
展开 | 选择 | Wrap | 行号
这篇关于有没有办法在非.php文件中初始化php?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文