为PHP和MySQL转储xml和xsl [英] dumping xml and xsl for PHP and MySQL

查看:72
本文介绍了为PHP和MySQL转储xml和xsl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前使用xml和xsl创建网站来生成.html文件。我是因为出于性能原因而考虑使用PHP和MySQL的


是否有一种方法可以使用PHP批量创建一组.html文件,然后可以在服务器上托管
?有问题的服务器没有b $ b必然支持PHP。


提前致谢,

David

解决方案

da ****** @ gmail。 com 写道:

我目前使用xml和xsl创建网站来生成.html文件。我出于性能原因考虑使用PHP和MySQL。是否有一种方法可以使用PHP批量创建一组.html文件,然后可以在服务器上托管?有问题的服务器并不一定支持PHP。

提前致谢,
David




全部取决于你正在使用的帽子类型。如果它是静态的,我会用b / b来写出直接的(X)HTML并用CSS来设置它的样式。


你是什么类型的数据?想要使用MySQL来存储?


如果你想创建单独的组件(比如页眉,页脚,

侧边栏),然后将它们注入每个页面,然后你可以把那些

写成HTML文件,并在每个php页面中


require_once(''header.html'');

require_once(''body.html'');

.....


否,我说的是一个技术规范,包含数千页的b $ b页。


David


da******@gmail.com 写道:

不,我在谈论一个包含数千页的技术规范。

David




大卫,


Y.你可以静态生成它们并上传它们。但我个人会得到一个支持PHP的

服务器。


-

======= ===========

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


I currently create sites using xml and xsl to produce .html files. I''m
thinking about using PHP and MySQL instead for performance reasons. Is
there a way of using PHP to create a set of .html files in batch that
can then be hosted on a server? The server in question doesn''t
necessarily support PHP.

Thanks in advance,
David

解决方案

da******@gmail.com wrote:

I currently create sites using xml and xsl to produce .html files. I''m
thinking about using PHP and MySQL instead for performance reasons. Is
there a way of using PHP to create a set of .html files in batch that
can then be hosted on a server? The server in question doesn''t
necessarily support PHP.

Thanks in advance,
David



All depends on what hat kind of data you''re using. If it''s static, I
would just write out straight (X)HTML and use CSS to style it.

What kind of data are you wanting to use MySQL to store?

If you''re looking to create separate components (say header, footer,
sidebar) and then inject them into each page, then you can write those
as HTML files, and in each php page

require_once( ''header.html'' );
require_once( ''body.html'');
.....


No, I''m talking about a technical specification encompassing thousand''s
of pages.

David


da******@gmail.com wrote:

No, I''m talking about a technical specification encompassing thousand''s
of pages.

David



David,

You could generate them statically and upload them. But personally I''d get a
server which supported PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


这篇关于为PHP和MySQL转储xml和xsl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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