你看看能解决你得问题不? <?php $username = "白瑾浩"; $title = "我的主页"; $fp = fopen('test.html','r'); $content = fread($fp,filesize('test.html')); $content =str_replace('{ username }',php如何访问js对象? - PHP进阶讨论,$username,$content); $content =str_replace('{ title }',$title,$content); echo $content; ?>
test,php如何将表单数据提交给远程服务器.html代码:
<html> <,phpcmsTag_标签 如何调用浏览次数;head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>{ title }</title> </head> <body style="color:red,php 中如何给二维数组赋值; background:blue,php cookis创建如何实现代码; " > 你好!欢送你{ username },进入我的web设计; <,photoshop激活完成后如何打开;/body> </html>
(责任编辑:admin)
|