English 中文(简体)
是否有这样的东西,例如从实验室转换到html?
原标题:Is there such a thing as a converter from php to html?
  • 时间:2010-05-20 14:50:00
  •  标签:
  • php
  • html

Don tink that I m mad, I Understanding how php work!

这就是说的。 我开发个人网站,我通常利用网站,避免在发展阶段重复任何真正的动态,只包括菜单、 couple子等。

在发展阶段结束时,我需要向客户提供html文档中的网站。 是否有一种工具(拖网机?)对我来说是能够做到的,而不是访问每一页并拯救解释的html?

最佳回答

如果你需要一些更强大的新植被,则单轨工程就好了。 http://www.httier.com/

问题回答

你们可以使用植被,重新下载所有链接页。

http://en.wikipedia.org/wiki/Wget#Recursive_download”rel=“nofollow noreferer”>。

Pavuk提供比植被更严格的控制。 如果需要,将把URLs重新贴在充斥的网页上。

如果你想使用拖网机,我将请大家看一下

否则,你也可以使用一些建筑工具,例如make

You need to create a file nameed Makefile in the same folder of your php files.
It should contain this:

all: 1st_page.html 2nd_page.html 3rd_page.html

1st_page.html: 1st_page.php
    php command

2nd_page.html: 2nd_page.php
    php command

3rd_page.html: 3rd_page.php
    php command

Note that the php command is not preceded by spaces but by a tabulation. (See this page for the php command line syntax.)

之后,每当你想更新你们的html档案时,就只有一类。

make

在您的终点站自动产生。

这似乎只是一份简单的工作,但make<>>>是你认为对其他任务实现自动化非常有用的工具。

Maybe, command Line?

如果你在窗户上休息,你可使用 免费下载,以 c一个网站。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签