从CD运行php脚本 [英] running php scripts from a CD

查看:73
本文介绍了从CD运行php脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从机器上的CD上运行PHP脚本页面,而不是
可以访问互联网?

可以设置某种虚假服务器吗? ?


chris

is there a way to run PHP scripted pages from a CD on a machine that doesnt
have internet access ??
can some sort of fake server be setup ??

chris

推荐答案

我唯一知道的是:
< a rel =nofollowhref =http://www.dwebpro.com/target =_ blank> http://www.dwebpro.com/

干杯,

Daniel
http://www.danhendricks.com

The only thing I''m aware of:
http://www.dwebpro.com/
Cheers,
Daniel
http://www.danhendricks.com


我曾做过类似的事情,但不久之前。我使用了一些

installer-creator-program-thingy来创建一个install.exe,它可以安装apache和mysql服务(在后台= D)和php,插入

内容到数据库并将php文件复制到htdocs目录,并且

比创建了一些快捷方式。这是在Windows机器上。这是一个很难做到这样的事情(在节目制作你想要的东西之前大量点击并尝试
)但它在可执行文件中得到了回报

所有接收用户所要做的就是运行install.exe和

一切都设置好了。


所以呃 - 就像那样。我猜想如果你想要为linux制作类似的东西,那就更难了,但我从来没有尝试过这样的事情。

诚实......就像我说的那样''一段时间以前 - 所以我不记得是什么程序

我用过的或者我是怎么做的......但我做到了,所以回答你的问题:


是的有一种方法可以做到这一点=)我没有做一个假的服务器

- 它是真正的配偶,在本地机器面团......


chris写道:
i did something like that once, but it''s a while ago. I used some
installer-creator-program-thingy to create an install.exe that whould
install apache and mysql service (in the background =D) and php, insert
the content to the database and copy the php files to htdocs dir, and
than created some shortcuts. This was on a windows machine. It''s a bit
of a struggle to make something like that (lots of clicking and trying
before the program makes what you want) but it pays off in an executable
where all the receiving user has to do is run install.exe and
everything''s setup.

so eh - it''s something like that. i guesse it whould be harder if you
want to make something like that for linux, but i never tried that to be
honest... as I said it''s a while ago - so I don''t remember what program
I used or how I did it... but I did it, so to answer your question:

yes there is a way to do that =) I didn''t make a fake server by the way
- it was the real thing mate, on the local machine dough...

chris wrote:
有没有办法在不具备互联网访问权限的机器上从CD上运行PHP脚本页?可以设置某种假的服务器吗?

is there a way to run PHP scripted pages from a CD on a machine that doesnt
have internet access ??
can some sort of fake server be setup ??

chris



chris写道:
chris wrote:
有没有办法在没有互联网访问权限的机器上从CD上运行PHP脚本页面?
可以设置某种虚假服务器吗?

chris
is there a way to run PHP scripted pages from a CD on a machine that doesnt
have internet access ??
can some sort of fake server be setup ??

chris



你可以将输出定向到硬编码的html。我不记得

技术了,但是把硬编码的东西吐出来很简单。


You can direct the output to hard coded html. I don''t recall the
technique but it''s something simple to spit out the whole thing hard coded.


这篇关于从CD运行php脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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