Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何颠倒引语的美学意义_Php_Mysql - Fatal编程技术网

Php 如何颠倒引语的美学意义

Php 如何颠倒引语的美学意义,php,mysql,Php,Mysql,好吧,我的项目终于差不多完成了,我不确定它到底有多安全,但这是一个起点,我会看看这个网站是否会有流量如果有那么多人愿意付钱让别人来解决一些问题,其他方面我可以等我继续学习,但长话短说,我有它输出一个文件 我有点麻烦 这是我的密码 file_put_contents('DONE.html', '<html><?php include('config.php'); </html>'); file\u put\u contents('DONE.html'),“引用由同

好吧,我的项目终于差不多完成了,我不确定它到底有多安全,但这是一个起点,我会看看这个网站是否会有流量如果有那么多人愿意付钱让别人来解决一些问题,其他方面我可以等我继续学习,但长话短说,我有它输出一个文件

我有点麻烦

这是我的密码

 file_put_contents('DONE.html', '<html><?php include('config.php'); </html>');

file\u put\u contents('DONE.html'),“引用由同一字符分隔的字符串中的字符,应使用反斜线/反斜线字符进行转义

 file_put_contents('DONE.html', '<html><?php include(\'config.php\'); </html>');

file\u put\u contents('DONE.html'),“引用由同一字符分隔的字符串中的字符,应使用反斜线/反斜线字符进行转义

 file_put_contents('DONE.html', '<html><?php include(\'config.php\'); </html>');

file\u put\u contents('DONE.html',”有几种方法可以实现您的目标:

 file_put_contents('DONE.html', "<html><?php include('config.php'); </html>");

 file_put_contents('DONE.html', '<html><?php include("config.php"); </html>');

 file_put_contents('DONE.html', "<html><?php include(\"config.php\"); </html>");

file\u put\u contents('DONE.html'),“有几种方法可以实现您的目标:

 file_put_contents('DONE.html', "<html><?php include('config.php'); </html>");

 file_put_contents('DONE.html', '<html><?php include("config.php"); </html>');

 file_put_contents('DONE.html', "<html><?php include(\"config.php\"); </html>");

file\u put\u内容('DONE.html',”我的意思是只有我一个人,或者事实上整个技术非常容易出错。所以你创建一个文件
done.html
,然后放入
,我的意思是只有我一个人,或者事实上整个技术非常容易出错。所以你创建一个文件
done.html
,然后放入
,你想输出你的
config.php进入
DONE.html
并用html标记包围它,或者你正在试图将
添加到一个文件中?无论哪种方式,除非你也有PHP设置来处理html文件,否则它只会将
呈现为文本(并且由于没有主体标记,所以不正确)。问题中最令人困惑的部分是“美学”位,好像代码已经开始工作了……您是在试图将
config.php
输出到由html标记围绕的
DONE.html
中,还是在试图将
添加到文件中?无论哪种方式,除非您也有处理html文件的php设置,否则它只会将
呈现为文本(由于没有body标签,这是错误的)问题中最让人困惑的部分是“美学”部分,好像代码已经在运行了。。。