<rt id="e558p"><optgroup id="e558p"></optgroup></rt>\r\n\r\n標(biāo)題:
\r\n內(nèi)容:<\/textarea>
\r\n\r\n<\/form>\r\n<\/body>\r\n<\/html><\/pre>

以下是代碼片段:文件名:bb.php<\/p>

 代碼如下:<\/p>

<\/pre>
\";\r\n$html1=$html1.\"\";\r\n$html1=$html1.\"\";\r\n$html1=$html1.$htmltitle;\r\n$html1=$html1.\"<\/title>\";\r\n$html1=$html1.\"<meta http-equiv='Content-Type' content='text\/html; charset=gb2312'>\";\r\n$html1=$html1.\"<\/head>\";\r\n$html1=$html1.\"<body>
<h1><a href="http://www.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</a></h1>\";\r\n$html1=$html1.\"<table border='1' width='740' cellpadding='2' cellspacing='0' bordercolordark='#f7f7f7' bordercolorlight='#cccccc'><tr><td align='center' bgcolor='#f7f7f7' height='30'><font size='3'><b>\";\r\n$html1=$html1.$htmltitle;\r\n$html1=$html1.\"<\/b><\/font><\/td><\/tr>\";\r\n$html1=$html1.\"<tr><td><font size='2'>\";\r\n$html1=$html1.$htmlbody;\r\n$html1=$html1.\"<\/font><\/td><\/tr><\/table>\";\r\n$html1=$html1.\"<\/body>\";\r\n$html1=$html1.\"<\/html>\";\r\n\/\/判斷今天的文件夾是否存在\r\nif (!is_dir(getdatetime())) {\r\n \/\/如果不存在就建立\r\n mkdir(getdatetime(),0777);\r\n}\r\n\/\/寫成html文件\r\n$filedir=getdatetime();\r\n$filename=gettime();\r\n$filename=$filename.\".html\";\r\n$fp=fopen(\"$filedir\/$filename\",\"w\");\r\nfwrite($fp,$html1);\r\nfclose\r\n($fp);\r\necho \"
	
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<script>var V_PATH="/";window.onerror=function(){ return true; };</script>
</head>

<body data-commit-time="2023-12-28T14:50:12+08:00" class="editor_body body2_2">
	<link rel="stylesheet" type="text/css" href="/static/csshw/stylehw.css">
<header>
    <div   id="377j5v51b"   class="head">
        <div   id="377j5v51b"   class="haed_left">
            <div   id="377j5v51b"   class="haed_logo">
                <a href="http://www.miracleart.cn/" title="" class="haed_logo_a">
                    <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                </a>
            </div>
            <div   id="377j5v51b"   class="head_nav">
                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="Community" class="head_nava head_nava-template1">Community</a>
                    <div   class="377j5v51b"   id="dropdown-template1" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/article.html" title="Articles" class="languagechoosea on">Articles</a>
                            <a href="http://www.miracleart.cn/faq/zt" title="Topics" class="languagechoosea">Topics</a>
                            <a href="http://www.miracleart.cn/wenda.html" title="Q&A" class="languagechoosea">Q&A</a>
                        </div>
                    </div>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="Learn" class="head_nava head_nava-template1_1">Learn</a>
                    <div   class="377j5v51b"   id="dropdown-template1_1" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/course.html" title="Course" class="languagechoosea on">Course</a>
                            <a href="http://www.miracleart.cn/dic/" title="Programming Dictionary" class="languagechoosea">Programming Dictionary</a>
                        </div>
                    </div>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="Tools Library" class="head_nava head_nava-template1_2">Tools Library</a>
                    <div   class="377j5v51b"   id="dropdown-template1_2" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/toolset/development-tools" title="Development tools" class="languagechoosea on">Development tools</a>
                            <a href="http://www.miracleart.cn/toolset/website-source-code" title="Website Source Code" class="languagechoosea">Website Source Code</a>
                            <a href="http://www.miracleart.cn/toolset/php-libraries" title="PHP Libraries" class="languagechoosea">PHP Libraries</a>
                            <a href="http://www.miracleart.cn/toolset/js-special-effects" title="JS special effects" class="languagechoosea on">JS special effects</a>
                            <a href="http://www.miracleart.cn/toolset/website-materials" title="Website Materials" class="languagechoosea on">Website Materials</a>
                            <a href="http://www.miracleart.cn/toolset/extension-plug-ins" title="Extension plug-ins" class="languagechoosea on">Extension plug-ins</a>
                        </div>
                    </div>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="http://www.miracleart.cn/ai" title="AI Tools" class="head_nava head_nava-template1_3">AI Tools</a>
                </div>

                <div   id="377j5v51b"   class="head_navs">
                    <a href="javascript:;" title="Leisure" class="head_nava head_nava-template1_3">Leisure</a>
                    <div   class="377j5v51b"   id="dropdown-template1_3" style="display: none;">
                        <div   id="377j5v51b"   class="languagechoose">
                            <a href="http://www.miracleart.cn/game" title="Game Download" class="languagechoosea on">Game Download</a>
                            <a href="http://www.miracleart.cn/mobile-game-tutorial/" title="Game Tutorials" class="languagechoosea">Game Tutorials</a>

                        </div>
                    </div>
                </div>
            </div>
        </div>
                    <div   id="377j5v51b"   class="head_search">
                <input id="key_words"  onkeydown="if (event.keyCode == 13) searchs('en')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value="">
                <a href="javascript:;" title="search"  onclick="searchs('en')"><img src="/static/imghw/find.png" alt="search"></a>
            </div>
                <div   id="377j5v51b"   class="head_right">
            <div   id="377j5v51b"   class="haed_language">
                <a href="javascript:;" class="layui-btn haed_language_btn">English<i class="layui-icon layui-icon-triangle-d"></i></a>
                <div   class="377j5v51b"   id="dropdown-template" style="display: none;">
                    <div   id="377j5v51b"   class="languagechoose">
                                                <a href="javascript:setlang('zh-cn');" title="簡體中文" class="languagechoosea">簡體中文</a>
                                                <a href="javascript:;" title="English" class="languagechoosea">English</a>
                                                <a href="javascript:setlang('zh-tw');" title="繁體中文" class="languagechoosea">繁體中文</a>
                                                <a href="javascript:setlang('ja');" title="日本語" class="languagechoosea">日本語</a>
                                                <a href="javascript:setlang('ko');" title="???" class="languagechoosea">???</a>
                                                <a href="javascript:setlang('ms');" title="Melayu" class="languagechoosea">Melayu</a>
                                                <a href="javascript:setlang('fr');" title="Fran?ais" class="languagechoosea">Fran?ais</a>
                                                <a href="javascript:setlang('de');" title="Deutsch" class="languagechoosea">Deutsch</a>
                                            </div>
                </div>
            </div>
            <span id="377j5v51b"    class="head_right_line"></span>
                            <div style="display: block;" id="login" class="haed_login ">
                    <a href="javascript:;"  title="Login" class="haed_logina ">Login</a>
                </div>
                <div style="display: block;" id="reg" class="head_signup login">
                    <a href="javascript:;"  title="singup" class="head_signupa">singup</a>
                </div>
            
        </div>
    </div>
</header>

	
	<main>
		<div   id="377j5v51b"   class="Article_Details_main">
			<div   id="377j5v51b"   class="Article_Details_main1">
							<div   id="377j5v51b"   class="Article_Details_main1M">
					<div   id="377j5v51b"   class="phpgenera_Details_mainL1">
						<a href="http://www.miracleart.cn/" title="Home"
							class="phpgenera_Details_mainL1a">Home</a>
						<img src="/static/imghw/top_right.png" alt="" />
												<a href="http://www.miracleart.cn/php-tutorials.html"
							class="phpgenera_Details_mainL1a">php教程</a>
						<img src="/static/imghw/top_right.png" alt="" />
												<a href="http://www.miracleart.cn/php-notebook.html"
							class="phpgenera_Details_mainL1a">php手冊(cè)</a>
						<img src="/static/imghw/top_right.png" alt="" />
						<span>php生成html文件方法總結(jié)</span>
					</div>
					
					<div   id="377j5v51b"   class="Articlelist_txts">
						<div   id="377j5v51b"   class="Articlelist_txts_info">
							<h1 class="Articlelist_txts_title">php生成html文件方法總結(jié)</h1>
							<div   id="377j5v51b"   class="Articlelist_txts_info_head">
								<div   id="377j5v51b"   class="author_info">
									<a href="http://www.miracleart.cn/member/1.html"  class="author_avatar">
									<img class="lazy"  data-src="https://img.php.cn/upload/avatar/000/000/001/6251028808086368.png" src="/static/imghw/default1.png" alt="PHP中文網(wǎng)">
									</a>
									<div   id="377j5v51b"   class="author_detail">
																			<a href="http://www.miracleart.cn/member/1.html" class="author_name">PHP中文網(wǎng)</a>
                                										</div>
								</div>
                			</div>
							<span id="377j5v51b"    class="Articlelist_txts_time">Apr 18, 2017 am	 11:09 AM</span>
															<div   id="377j5v51b"   class="Articlelist_txts_infos">
																			<span id="377j5v51b"    class="Articlelist_txts_infoss on">php</span>
																	</div>
														
						</div>
					</div>
					<hr />
					<div   id="377j5v51b"   class="article_main php-article">
						<div   id="377j5v51b"   class="article-list-left detail-content-wrap content">
						<ins class="adsbygoogle"
							style="display:block; text-align:center;"
							data-ad-layout="in-article"
							data-ad-format="fluid"
							data-ad-client="ca-pub-5902227090019525"
							data-ad-slot="3461856641">
						</ins>
						

					<p>本文這里匯總了一些自己使用的和網(wǎng)上搜集來的php生成html靜態(tài)文件的方法,非常的使用,也分析了他們的優(yōu)缺點(diǎn),是篇非常不錯(cuò)的文章,這里推薦給大家。</p>
<p>我經(jīng)常會(huì)在網(wǎng)上看到有人問怎么將整個(gè)動(dòng)態(tài)的網(wǎng)站靜態(tài)化,其實(shí)實(shí)現(xiàn)的方法很簡單。</p>
<p class="codetitle">?代碼如下:</p><pre class='brush:php;toolbar:false;'><?php
//在你的開始處加入 ob_start(); 
ob_start(); 
//以下是你的代碼 
//在結(jié)尾加入 ob_end_clean(),并把本頁輸出到一個(gè)變量中 
$temp = ob_get_contents(); 
ob_end_clean(); 
//寫入文件 
$fp = 
fopen
(‘文件名&#39;,&#39;w&#39;); 
fwrite($fp,$temp) or die(‘寫文件錯(cuò)誤&#39;); 
?></pre><p>這只是最基本的方法,還不是很實(shí)用,因?yàn)榫W(wǎng)站是要更新的,要定期重新生成HTML<br/></p><p>下面是<strong>我用的方法</strong>:<br/> 代碼如下:</p><pre class='brush:php;toolbar:false;'>if(file_exists(“xxx.html”))
{
    $time = time();
         //文件修改時(shí)間和現(xiàn)在時(shí)間相差半小時(shí)一下的話,直接導(dǎo)向html文件,否則重新生成html
    if($time - filemtime(“xxx.html”) < 30*60)
    {
        header(“Location:xxx.html”);
    }
}
//在你的開始處加入 ob_start(); 
ob_start(); 
//頁面的詳細(xì)內(nèi)容
//在結(jié)尾加入 ob_end_clean(),并把本頁輸出到一個(gè)變量中 
$temp = ob_get_contents(); 
ob_end_clean(); 
//寫入文件 
$fp = fopen(‘xxx.html&#39;,&#39;w&#39;); 
fwrite($fp,$temp) or die(‘寫文件錯(cuò)誤&#39;); 
//重新導(dǎo)向
header(“Location:xxx.html”);</pre><p>上面用的<a href="http://www.miracleart.cn/php/php-tp-caches.html" target="_blank"></a><a href="http://www.miracleart.cn/code/6857.html" target="_blank">緩存</a>文件在大量生成時(shí)會(huì)出現(xiàn)負(fù)載過重,下面我們介紹一種<strong>更為高效的方法<br/></strong></p><p>以下是輸入內(nèi)容的提交頁面:<br/>文件名:aa.html<br/></p><p class="codetitle"> 代碼如下:</p><pre class='brush:php;toolbar:false;'><html>
<head>
<title>提交頁面</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<form method="post" action="bb.php">
標(biāo)題:<input type="text" name="htmltitle"><br>
內(nèi)容:<textarea rows="8" cols="45" name="htmlbody"></textarea><br>
<input type="submit" name="submit" value="添加新聞">
</form>
</body>
</html></pre><p>以下是代碼片段:<br/>文件名:bb.php<br/></p><p class="codetitle"> 代碼如下:</p><pre class='brush:php;toolbar:false;'><?php
//定義日期函數(shù)
function getdatetime()
{
 $datetime=getdate();
 $strReturn=$datetime["year"]."-";
 $strReturn=$strReturn.$datetime["mon"]."-";
 $strReturn=$strReturn.$datetime["mday"];
 return $strReturn;
}
//定義時(shí)間函數(shù)(文件名)
function gettime()
{
 $times=getdate();
 $strtime=$times["year"];
 $strtime=$strtime.$times["mon"];
 $strtime=$strtime.$times["mday"];
 $strtime=$strtime.$times["minutes"];
 $strtime=$strtime.$times["seconds"];
 return $strtime;
}
?></pre><pre class='brush:php;toolbar:false;'><?php
//判斷提交值是否為空
$submit=$_POST["submit"];
//定義文件頭部信息
$htmltitle=$_POST["htmltitle"];
//定義文件內(nèi)容
$htmlbody=$_POST["htmlbody"];
if ($submit) {
//定義html文件標(biāo)簽
$html1=$html1."<html>";
$html1=$html1."<head>";
$html1=$html1."<title>";
$html1=$html1.$htmltitle;
$html1=$html1."</title>";
$html1=$html1."<meta http-equiv=&#39;Content-Type&#39; content=&#39;text/html; charset=gb2312&#39;>";
$html1=$html1."</head>";
$html1=$html1."<body>";
$html1=$html1."<table border=&#39;1&#39; width=&#39;740&#39; cellpadding=&#39;2&#39; cellspacing=&#39;0&#39; bordercolordark=&#39;#f7f7f7&#39; bordercolorlight=&#39;#cccccc&#39;><tr><td align=&#39;center&#39; bgcolor=&#39;#f7f7f7&#39; height=&#39;30&#39;><font size=&#39;3&#39;><b>";
$html1=$html1.$htmltitle;
$html1=$html1."</b></font></td></tr>";
$html1=$html1."<tr><td><font size=&#39;2&#39;>";
$html1=$html1.$htmlbody;
$html1=$html1."</font></td></tr></table>";
$html1=$html1."</body>";
$html1=$html1."</html>";
//判斷今天的文件夾是否存在
if (!is_dir(getdatetime())) {
 //如果不存在就建立
 mkdir(getdatetime(),0777);
}
//寫成html文件
$filedir=getdatetime();
$filename=gettime();
$filename=$filename.".html";
$fp=fopen("$filedir/$filename","w");
fwrite($fp,$html1);
fclose
($fp);
echo "<script>alert(&#39;文件寫入成功&#39;);location.href=&#39;111.php&#39;;</script>";
}
?></pre><p>如果提示文件寫入成功,那你就成功了,然后回到你的相應(yīng)目錄里看看有沒有生成靜態(tài)的html文件!</p><p><strong>smarty模板生成方法</strong></p><p class="codetitle"> 代碼如下:</p><pre class='brush:php;toolbar:false;'><?php
require_once("./config/config.php");
ob_start();
$id=$_GET[id];
$sql="select * from table_name where id=&#39;$id&#39;";
$result=
mysql_query
($sql);
$rs=mysql_fetch_object($result);
$smarty->assign("showtitle",$rs->title);
$smarty->assign("showcontent",$rs->content);
$smarty->
display
("content.html");
$this_my_f= ob_get_contents(); 
ob_end_clean();
$filename = "$id.html";
tohtmlfile_cjjer($filename,$this_my_f);
// 文件生成函數(shù)
function tohtmlfile_cjjer($file_cjjer_name,$file_cjjer_content){
if (is_file ($file_cjjer_name)){
@unlink ($file_cjjer_name); //存在,就刪除
}
$cjjer_handle = fopen ($file_cjjer_name,"w"); //創(chuàng)建文件
if (!is_writable ($file_cjjer_name)){ //判斷寫權(quán)限
return false;
}
if (!fwrite ($cjjer_handle,$file_cjjer_content)){
return false;
} 
fclose ($cjjer_handle); //關(guān)閉指針
return $file_cjjer_name; //返回文件名
}
?></pre><p><br/>smarty中有一個(gè)獲取模板頁內(nèi)容方法fetch(), 它的聲明原形是這樣的:</p><p class="codetitle">代碼如下:</p><pre class='brush:php;toolbar:false;'><?php 
   $smarty = new Smarty(); 
  //其它模板替換語法... 
   //下面這句取得頁面中所有內(nèi)容, 注意最后一個(gè)參數(shù)為false 
  $content = $smarty->fetch(&#39;模板名稱.tpl&#39;, null, null, false); 
  //下面將內(nèi)容寫入至一個(gè)靜態(tài)文件 
  $fp = fopen(&#39;news.html&#39;, &#39;w&#39;); 
  fwrite($fp, $content); 
  fclose($fp); 
  //OK, 到這里這個(gè)news.html靜態(tài)頁就生成了, 你可以處理你下一步的工作了 
?></pre><p>好了結(jié)合上面的方法我們生成文件幾乎原理都一樣,先把數(shù)據(jù)讀取出來然后給我們定義好的模板,最后利用fopen函數(shù)生成一個(gè).html的文件</p>
<p>以上幾種php生成html靜態(tài)文件的方法原理上都大同小異,只是在方法上略有不同,都有優(yōu)缺點(diǎn),大家根據(jù)自己的項(xiàng)目需求,自由選擇吧</p>


						</div>
					</div>
					<div   id="377j5v51b"   class="wzconShengming_sp">
						<div   id="377j5v51b"   class="bzsmdiv_sp">Statement of this Website</div>
						<div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn</div>
					</div>
				</div>

				<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-5902227090019525"
     data-ad-slot="2507867629"></ins>



				<div   id="377j5v51b"   class="AI_ToolDetails_main4sR">


				<ins class="adsbygoogle"
        style="display:block"
        data-ad-client="ca-pub-5902227090019525"
        data-ad-slot="3653428331"
        data-ad-format="auto"
        data-full-width-responsive="true"></ins>
    


					<!-- <div   id="377j5v51b"   class="phpgenera_Details_mainR4">
						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									src="/static/imghw/hotarticle2.png" alt="" />
								<h2>Hot Article</h2>
							</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796819994.html" title="How to fix KB5060999 fails to install in Windows 11?" class="phpgenera_Details_mainR4_bottom_title">How to fix KB5060999 fails to install in Windows 11?</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 months ago</span>
										<span>By DDD</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796827210.html" title="Oguri Cap Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide | A Pretty Derby Musume</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796821119.html" title="Guide: Stellar Blade Save File Location/Save File Lost/Not Saving" class="phpgenera_Details_mainR4_bottom_title">Guide: Stellar Blade Save File Location/Save File Lost/Not Saving</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By DDD</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796821436.html" title="Dune: Awakening - Advanced Planetologist Quest Walkthrough" class="phpgenera_Details_mainR4_bottom_title">Dune: Awakening - Advanced Planetologist Quest Walkthrough</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796828723.html" title="Agnes Tachyon Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide | A Pretty Derby Musume</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
														</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
								<a href="http://www.miracleart.cn/article.html">Show More</a>
							</div>
						</div>
					</div> -->


											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/hottools2.png" alt="" />
									<h2>Hot AI Tools</h2>
								</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173410641626608.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undress AI Tool" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/ai/undress-ai-tool" title="Undress AI Tool" class="phpmain_tab2_mids_title">
													<h3>Undress AI Tool</h3>
												</a>
												<p>Undress images for free</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411540686492.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Undresser.AI Undress" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/ai/undresserai-undress" title="Undresser.AI Undress" class="phpmain_tab2_mids_title">
													<h3>Undresser.AI Undress</h3>
												</a>
												<p>AI-powered app for creating realistic nude photos</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411552797167.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="AI Clothes Remover" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/ai/ai-clothes-remover" title="AI Clothes Remover" class="phpmain_tab2_mids_title">
													<h3>AI Clothes Remover</h3>
												</a>
												<p>Online AI tool for removing clothes from photos.</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173411529149311.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Clothoff.io" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/ai/clothoffio" title="Clothoff.io" class="phpmain_tab2_mids_title">
													<h3>Clothoff.io</h3>
												</a>
												<p>AI clothes remover</p>
											</div>
										</div>
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/ai_manual/001/246/273/173414504068133.jpg?x-oss-process=image/resize,m_fill,h_50,w_50" src="/static/imghw/default1.png" alt="Video Face Swap" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/ai/video-swap" title="Video Face Swap" class="phpmain_tab2_mids_title">
													<h3>Video Face Swap</h3>
												</a>
												<p>Swap faces in any video effortlessly with our completely free AI face swap tool!</p>
											</div>
										</div>
																</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
									<a href="http://www.miracleart.cn/ai">Show More</a>
								</div>
							</div>
						</div>
					


					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									src="/static/imghw/hotarticle2.png" alt="" />
								<h2>Hot Article</h2>
							</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796819994.html" title="How to fix KB5060999 fails to install in Windows 11?" class="phpgenera_Details_mainR4_bottom_title">How to fix KB5060999 fails to install in Windows 11?</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 months ago</span>
										<span>By DDD</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796827210.html" title="Oguri Cap Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Oguri Cap Build Guide | A Pretty Derby Musume</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796821119.html" title="Guide: Stellar Blade Save File Location/Save File Lost/Not Saving" class="phpgenera_Details_mainR4_bottom_title">Guide: Stellar Blade Save File Location/Save File Lost/Not Saving</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By DDD</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796821436.html" title="Dune: Awakening - Advanced Planetologist Quest Walkthrough" class="phpgenera_Details_mainR4_bottom_title">Dune: Awakening - Advanced Planetologist Quest Walkthrough</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/1796828723.html" title="Agnes Tachyon Build Guide | A Pretty Derby Musume" class="phpgenera_Details_mainR4_bottom_title">Agnes Tachyon Build Guide | A Pretty Derby Musume</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
														</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
								<a href="http://www.miracleart.cn/article.html">Show More</a>
							</div>
						</div>
					</div>


											<div   id="377j5v51b"   class="phpgenera_Details_mainR3">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank">
								<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/hottools2.png" alt="" />
									<h2>Hot Tools</h2>
								</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_bottom">
																		<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/toolset/development-tools/92" title="Notepad++7.3.1" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab96f0f39f7357.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Notepad++7.3.1" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/toolset/development-tools/92" title="Notepad++7.3.1" class="phpmain_tab2_mids_title">
													<h3>Notepad++7.3.1</h3>
												</a>
												<p>Easy-to-use and free code editor</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97a3baad9677.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Chinese version" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/toolset/development-tools/93" title="SublimeText3 Chinese version" class="phpmain_tab2_mids_title">
													<h3>SublimeText3 Chinese version</h3>
												</a>
												<p>Chinese version, very easy to use</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/toolset/development-tools/121" title="Zend Studio 13.0.1" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58ab97ecd1ab2670.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Zend Studio 13.0.1" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/toolset/development-tools/121" title="Zend Studio 13.0.1" class="phpmain_tab2_mids_title">
													<h3>Zend Studio 13.0.1</h3>
												</a>
												<p>Powerful PHP integrated development environment</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d0e0fc74683535.jpg?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="Dreamweaver CS6" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/toolset/development-tools/469" title="Dreamweaver CS6" class="phpmain_tab2_mids_title">
													<h3>Dreamweaver CS6</h3>
												</a>
												<p>Visual web development tools</p>
											</div>
										</div>
																			<div   id="377j5v51b"   class="phpmain_tab2_mids_top">
											<a href="http://www.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" class="phpmain_tab2_mids_top_img">
												<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
													class="lazy"  data-src="https://img.php.cn/upload/manual/000/000/001/58d34035e2757995.png?x-oss-process=image/resize,m_fill,h_50,w_72" src="/static/imghw/default1.png" alt="SublimeText3 Mac version" />
											</a>
											<div   id="377j5v51b"   class="phpmain_tab2_mids_info">
												<a href="http://www.miracleart.cn/toolset/development-tools/500" title="SublimeText3 Mac version" class="phpmain_tab2_mids_title">
													<h3>SublimeText3 Mac version</h3>
												</a>
												<p>God-level code editing software (SublimeText3)</p>
											</div>
										</div>
																	</div>
								<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
									<a href="http://www.miracleart.cn/ai">Show More</a>
								</div>
							</div>
						</div>
										

					
					<div   id="377j5v51b"   class="phpgenera_Details_mainR4">
						<div   id="377j5v51b"   class="phpmain1_4R_readrank">
							<div   id="377j5v51b"   class="phpmain1_4R_readrank_top">
								<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
									src="/static/imghw/hotarticle2.png" alt="" />
								<h2>Hot Topics</h2>
							</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottom">
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/gmailyxdlrkzn" title="Where is the login entrance for gmail email?" class="phpgenera_Details_mainR4_bottom_title">Where is the login entrance for gmail email?</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>8526</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>17</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/java-tutorial" title="Java Tutorial" class="phpgenera_Details_mainR4_bottom_title">Java Tutorial</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1747</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>16</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/cakephp-tutor" title="CakePHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">CakePHP Tutorial</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1601</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>56</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/laravel-tutori" title="Laravel Tutorial" class="phpgenera_Details_mainR4_bottom_title">Laravel Tutorial</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1542</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>28</span>
										</div>
									</div>
								</div>
															<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://www.miracleart.cn/faq/php-tutorial" title="PHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">PHP Tutorial</a>
									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1402</span>
										</div>
										<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>31</span>
										</div>
									</div>
								</div>
														</div>
							<div   id="377j5v51b"   class="phpgenera_Details_mainR3_more">
								<a href="http://www.miracleart.cn/faq/zt">Show More</a>
							</div>
						</div>
					</div>
				</div>
			</div>
							<div   id="377j5v51b"   class="Article_Details_main2">
					<div   id="377j5v51b"   class="phpgenera_Details_mainL4">
						<div   id="377j5v51b"   class="phpmain1_2_top">
							<a href="javascript:void(0);" class="phpmain1_2_top_title">Related knowledge<img
									src="/static/imghw/index2_title2.png" alt="" /></a>
						</div>
						<div   id="377j5v51b"   class="phpgenera_Details_mainL4_info">

													<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796828544.html" title="How to combine two php arrays unique values?" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175144789373347.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to combine two php arrays unique values?" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796828544.html" title="How to combine two php arrays unique values?" class="phphistorical_Version2_mids_title">How to combine two php arrays unique values?</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 02, 2025 pm	 05:18 PM</span>
								<p class="Articlelist_txts_p">To merge two PHP arrays and keep unique values, there are two main methods. 1. For index arrays or only deduplication, use array_merge and array_unique combinations: first merge array_merge($array1,$array2) and then use array_unique() to deduplicate them to finally get a new array containing all unique values; 2. For associative arrays and want to retain key-value pairs in the first array, use the operator: $result=$array1 $array2, which will ensure that the keys in the first array will not be overwritten by the second array. These two methods are applicable to different scenarios, depending on whether the key name is retained or only the focus is on</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796829119.html" title="How to use php exit function?" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175148013068283.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to use php exit function?" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796829119.html" title="How to use php exit function?" class="phphistorical_Version2_mids_title">How to use php exit function?</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 03, 2025 am	 02:15 AM</span>
								<p class="Articlelist_txts_p">exit() is a function in PHP that is used to terminate script execution immediately. Common uses include: 1. Terminate the script in advance when an exception is detected, such as the file does not exist or verification fails; 2. Output intermediate results during debugging and stop execution; 3. Call exit() after redirecting in conjunction with header() to prevent subsequent code execution; In addition, exit() can accept string parameters as output content or integers as status code, and its alias is die().</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796830597.html" title="Applying Semantic Structure with article, section, and aside in HTML" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175165222157267.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Applying Semantic Structure with article, section, and aside in HTML" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796830597.html" title="Applying Semantic Structure with article, section, and aside in HTML" class="phphistorical_Version2_mids_title">Applying Semantic Structure with article, section, and aside in HTML</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 05, 2025 am	 02:03 AM</span>
								<p class="Articlelist_txts_p">The rational use of semantic tags in HTML can improve page structure clarity, accessibility and SEO effects. 1. Used for independent content blocks, such as blog posts or comments, it must be self-contained; 2. Used for classification related content, usually including titles, and is suitable for different modules of the page; 3. Used for auxiliary information related to the main content but not core, such as sidebar recommendations or author profiles. In actual development, labels should be combined and other, avoid excessive nesting, keep the structure simple, and verify the rationality of the structure through developer tools.</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796828540.html" title="How to create an array in php?" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175144687013117.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to create an array in php?" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796828540.html" title="How to create an array in php?" class="phphistorical_Version2_mids_title">How to create an array in php?</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 02, 2025 pm	 05:01 PM</span>
								<p class="Articlelist_txts_p">There are two ways to create an array in PHP: use the array() function or use brackets []. 1. Using the array() function is a traditional way, with good compatibility. Define index arrays such as $fruits=array("apple","banana","orange"), and associative arrays such as $user=array("name"=>"John","age"=>25); 2. Using [] is a simpler way to support since PHP5.4, such as $color</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796829908.html" title="The requested operation requires elevation Windows" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/431/639/175156908128017.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="The requested operation requires elevation Windows" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796829908.html" title="The requested operation requires elevation Windows" class="phphistorical_Version2_mids_title">The requested operation requires elevation Windows</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 04, 2025 am	 02:58 AM</span>
								<p class="Articlelist_txts_p">When you encounter the prompt "This operation requires escalation of permissions", it means that you need administrator permissions to continue. Solutions include: 1. Right-click the "Run as Administrator" program or set the shortcut to always run as an administrator; 2. Check whether the current account is an administrator account, if not, switch or request administrator assistance; 3. Use administrator permissions to open a command prompt or PowerShell to execute relevant commands; 4. Bypass the restrictions by obtaining file ownership or modifying the registry when necessary, but such operations need to be cautious and fully understand the risks. Confirm permission identity and try the above methods usually solve the problem.</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796828535.html" title="php raw post data php" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175144627189891.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="php raw post data php" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796828535.html" title="php raw post data php" class="phphistorical_Version2_mids_title">php raw post data php</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 02, 2025 pm	 04:51 PM</span>
								<p class="Articlelist_txts_p">The way to process raw POST data in PHP is to use $rawData=file_get_contents('php://input'), which is suitable for receiving JSON, XML, or other custom format data. 1.php://input is a read-only stream, which is only valid in POST requests; 2. Common problems include server configuration or middleware reading input streams, which makes it impossible to obtain data; 3. Application scenarios include receiving front-end fetch requests, third-party service callbacks, and building RESTfulAPIs; 4. The difference from $_POST is that $_POST automatically parses standard form data, while the original data is suitable for non-standard formats and allows manual parsing; 5. Ordinary HTM</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796832599.html" title="How to handle File Uploads securely in PHP?" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175191342169363.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to handle File Uploads securely in PHP?" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796832599.html" title="How to handle File Uploads securely in PHP?" class="phphistorical_Version2_mids_title">How to handle File Uploads securely in PHP?</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 08, 2025 am	 02:37 AM</span>
								<p class="Articlelist_txts_p">To safely handle PHP file uploads, you need to verify the source and type, control the file name and path, set server restrictions, and process media files twice. 1. Verify the upload source to prevent CSRF through token and detect the real MIME type through finfo_file using whitelist control; 2. Rename the file to a random string and determine the extension to store it in a non-Web directory according to the detection type; 3. PHP configuration limits the upload size and temporary directory Nginx/Apache prohibits access to the upload directory; 4. The GD library resaves the pictures to clear potential malicious data.</p>
							</div>
														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
								<a href="http://www.miracleart.cn/faq/1796832616.html" title="How Do You Pass Variables by Value vs. by Reference in PHP?" class="phphistorical_Version2_mids_img">
									<img onerror="this.onerror=''; this.src='/static/imghw/default1.png'"
										src="/static/imghw/default1.png" class="lazy"  data-src="https://img.php.cn/upload/article/001/253/068/175191376124203.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How Do You Pass Variables by Value vs. by Reference in PHP?" />
								</a>
								<a href="http://www.miracleart.cn/faq/1796832616.html" title="How Do You Pass Variables by Value vs. by Reference in PHP?" class="phphistorical_Version2_mids_title">How Do You Pass Variables by Value vs. by Reference in PHP?</a>
								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 08, 2025 am	 02:42 AM</span>
								<p class="Articlelist_txts_p">InPHP,variablesarepassedbyvaluebydefault,meaningfunctionsorassignmentsreceiveacopyofthedata,whilepassingbyreferenceallowsmodificationstoaffecttheoriginalvariable.1.Whenpassingbyvalue,changestothecopydonotimpacttheoriginal,asshownwhenassigning$b=$aorp</p>
							</div>
													</div>

													<a href="http://www.miracleart.cn/php-tutorials.html" class="phpgenera_Details_mainL4_botton">
								<span>See all articles</span>
								<img src="/static/imghw/down_right.png" alt="" />
							</a>
											</div>
				</div>
					</div>
	</main>
	<footer>
    <div   id="377j5v51b"   class="footer">
        <div   id="377j5v51b"   class="footertop">
            <img src="/static/imghw/logo.png" alt="">
            <p>Public welfare online PHP training,Help PHP learners grow quickly!</p>
        </div>
        <div   id="377j5v51b"   class="footermid">
            <a href="http://www.miracleart.cn/about/us.html">About us</a>
            <a href="http://www.miracleart.cn/about/disclaimer.html">Disclaimer</a>
            <a href="http://www.miracleart.cn/update/article_0_1.html">Sitemap</a>
        </div>
        <div   id="377j5v51b"   class="footerbottom">
            <p>
                ? php.cn All rights reserved
            </p>
        </div>
    </div>
</footer>

<input type="hidden" id="verifycode" value="/captcha.html">




		<link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css?2' type='text/css' media='all' />
	
	
	
	
	

	
	






<footer>
<div class="friendship-link">
<p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p>
<a href="http://www.miracleart.cn/" title="国产av日韩一区二区三区精品">国产av日韩一区二区三区精品</a>

<div class="friend-links">


</div>
</div>

</footer>


<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>
</body><div id="pm5ko" class="pl_css_ganrao" style="display: none;"><small id="pm5ko"></small><legend id="pm5ko"><ruby id="pm5ko"></ruby></legend><tt id="pm5ko"><center id="pm5ko"><tr id="pm5ko"><strike id="pm5ko"></strike></tr></center></tt><tt id="pm5ko"><legend id="pm5ko"><ul id="pm5ko"><big id="pm5ko"></big></ul></legend></tt><button id="pm5ko"></button><i id="pm5ko"><del id="pm5ko"><p id="pm5ko"></p></del></i><rp id="pm5ko"><th id="pm5ko"><track id="pm5ko"><pre id="pm5ko"></pre></track></th></rp><mark id="pm5ko"><strong id="pm5ko"></strong></mark><nav id="pm5ko"></nav><menuitem id="pm5ko"><strong id="pm5ko"></strong></menuitem><source id="pm5ko"></source><form id="pm5ko"></form><ol id="pm5ko"><small id="pm5ko"><rt id="pm5ko"><delect id="pm5ko"></delect></rt></small></ol><button id="pm5ko"></button><li id="pm5ko"><dl id="pm5ko"><ruby id="pm5ko"><strong id="pm5ko"></strong></ruby></dl></li><sup id="pm5ko"></sup><acronym id="pm5ko"></acronym><label id="pm5ko"></label><strong id="pm5ko"><mark id="pm5ko"><label id="pm5ko"></label></mark></strong><s id="pm5ko"><b id="pm5ko"><td id="pm5ko"><kbd id="pm5ko"></kbd></td></b></s><menuitem id="pm5ko"><strong id="pm5ko"></strong></menuitem><abbr id="pm5ko"><div id="pm5ko"></div></abbr><samp id="pm5ko"><pre id="pm5ko"><mark id="pm5ko"><strong id="pm5ko"></strong></mark></pre></samp><ruby id="pm5ko"><legend id="pm5ko"><ruby id="pm5ko"><dl id="pm5ko"></dl></ruby></legend></ruby><progress id="pm5ko"></progress><track id="pm5ko"><span id="pm5ko"><noframes id="pm5ko"><span id="pm5ko"></span></noframes></span></track><del id="pm5ko"></del><pre id="pm5ko"></pre><dfn id="pm5ko"><td id="pm5ko"><kbd id="pm5ko"><div id="pm5ko"></div></kbd></td></dfn><progress id="pm5ko"></progress><ins id="pm5ko"></ins><small id="pm5ko"><style id="pm5ko"></style></small><kbd id="pm5ko"><strong id="pm5ko"><rp id="pm5ko"></rp></strong></kbd><s id="pm5ko"><samp id="pm5ko"><video id="pm5ko"><meter id="pm5ko"></meter></video></samp></s><address id="pm5ko"><u id="pm5ko"></u></address><span id="pm5ko"><font id="pm5ko"><style id="pm5ko"></style></font></span><td id="pm5ko"><kbd id="pm5ko"><p id="pm5ko"></p></kbd></td><nobr id="pm5ko"><tr id="pm5ko"></tr></nobr><i id="pm5ko"></i><strong id="pm5ko"></strong><track id="pm5ko"></track><em id="pm5ko"><pre id="pm5ko"></pre></em><strong id="pm5ko"><progress id="pm5ko"></progress></strong><progress id="pm5ko"></progress><rp id="pm5ko"></rp><meter id="pm5ko"><var id="pm5ko"><center id="pm5ko"><label id="pm5ko"></label></center></var></meter><ruby id="pm5ko"><tbody id="pm5ko"><th id="pm5ko"><dl id="pm5ko"></dl></th></tbody></ruby><progress id="pm5ko"><track id="pm5ko"><span id="pm5ko"></span></track></progress><label id="pm5ko"><mark id="pm5ko"><strong id="pm5ko"><dfn id="pm5ko"></dfn></strong></mark></label><address id="pm5ko"><u id="pm5ko"></u></address><dfn id="pm5ko"></dfn><code id="pm5ko"></code><em id="pm5ko"><sub id="pm5ko"><form id="pm5ko"><p id="pm5ko"></p></form></sub></em><menuitem id="pm5ko"></menuitem><del id="pm5ko"><p id="pm5ko"><mark id="pm5ko"><label id="pm5ko"></label></mark></p></del><pre id="pm5ko"></pre><sub id="pm5ko"></sub><progress id="pm5ko"></progress><tt id="pm5ko"></tt><samp id="pm5ko"><tbody id="pm5ko"><meter id="pm5ko"></meter></tbody></samp><ol id="pm5ko"></ol><dfn id="pm5ko"><listing id="pm5ko"></listing></dfn><small id="pm5ko"><progress id="pm5ko"></progress></small><ins id="pm5ko"><sup id="pm5ko"><button id="pm5ko"><input id="pm5ko"></input></button></sup></ins><acronym id="pm5ko"></acronym><abbr id="pm5ko"><div id="pm5ko"></div></abbr><input id="pm5ko"><em id="pm5ko"><label id="pm5ko"></label></em></input><sup id="pm5ko"></sup><dfn id="pm5ko"><blockquote id="pm5ko"></blockquote></dfn><optgroup id="pm5ko"><td id="pm5ko"><form id="pm5ko"></form></td></optgroup><strong id="pm5ko"></strong><noframes id="pm5ko"><span id="pm5ko"></span></noframes><strike id="pm5ko"></strike><input id="pm5ko"></input><xmp id="pm5ko"><label id="pm5ko"></label></xmp><thead id="pm5ko"><input id="pm5ko"></input></thead><option id="pm5ko"></option><optgroup id="pm5ko"></optgroup><dfn id="pm5ko"></dfn><b id="pm5ko"><pre id="pm5ko"><samp id="pm5ko"><thead id="pm5ko"></thead></samp></pre></b><ol id="pm5ko"></ol><video id="pm5ko"><sup id="pm5ko"><b id="pm5ko"><s id="pm5ko"></s></b></sup></video><nobr id="pm5ko"><address id="pm5ko"><table id="pm5ko"><address id="pm5ko"></address></table></address></nobr><tfoot id="pm5ko"><track id="pm5ko"></track></tfoot><strong id="pm5ko"><thead id="pm5ko"><abbr id="pm5ko"><div id="pm5ko"></div></abbr></thead></strong><th id="pm5ko"><form id="pm5ko"><dfn id="pm5ko"><sub id="pm5ko"></sub></dfn></form></th><tfoot id="pm5ko"></tfoot><output id="pm5ko"><ol id="pm5ko"></ol></output><ul id="pm5ko"></ul><acronym id="pm5ko"></acronym><strong id="pm5ko"><sup id="pm5ko"><strong id="pm5ko"><em id="pm5ko"></em></strong></sup></strong><pre id="pm5ko"></pre><strong id="pm5ko"><progress id="pm5ko"></progress></strong><td id="pm5ko"><style id="pm5ko"><progress id="pm5ko"><style id="pm5ko"></style></progress></style></td><nobr id="pm5ko"><address id="pm5ko"></address></nobr><form id="pm5ko"></form><noframes id="pm5ko"><span id="pm5ko"></span></noframes><listing id="pm5ko"></listing><address id="pm5ko"></address><i id="pm5ko"></i><ins id="pm5ko"><cite id="pm5ko"></cite></ins><ins id="pm5ko"><track id="pm5ko"><span id="pm5ko"><dfn id="pm5ko"></dfn></span></track></ins><thead id="pm5ko"></thead><small id="pm5ko"></small><strong id="pm5ko"></strong><sup id="pm5ko"><b id="pm5ko"><s id="pm5ko"><samp id="pm5ko"></samp></s></b></sup><wbr id="pm5ko"></wbr><tr id="pm5ko"><legend id="pm5ko"></legend></tr><strong id="pm5ko"><mark id="pm5ko"></mark></strong><rt id="pm5ko"><delect id="pm5ko"></delect></rt><video id="pm5ko"></video><optgroup id="pm5ko"></optgroup><ruby id="pm5ko"></ruby><thead id="pm5ko"><abbr id="pm5ko"><fieldset id="pm5ko"><rp id="pm5ko"></rp></fieldset></abbr></thead><font id="pm5ko"><strong id="pm5ko"></strong></font><s id="pm5ko"><b id="pm5ko"></b></s><source id="pm5ko"><dfn id="pm5ko"><div id="pm5ko"><rp id="pm5ko"></rp></div></dfn></source><acronym id="pm5ko"></acronym><noframes id="pm5ko"><span id="pm5ko"></span></noframes><sup id="pm5ko"><button id="pm5ko"></button></sup><acronym id="pm5ko"><u id="pm5ko"></u></acronym><span id="pm5ko"><optgroup id="pm5ko"><center id="pm5ko"><optgroup id="pm5ko"></optgroup></center></optgroup></span><legend id="pm5ko"></legend><samp id="pm5ko"><pre id="pm5ko"></pre></samp><button id="pm5ko"><input id="pm5ko"><dfn id="pm5ko"></dfn></input></button><var id="pm5ko"></var><code id="pm5ko"><tr id="pm5ko"></tr></code><big id="pm5ko"></big><nav id="pm5ko"><thead id="pm5ko"><i id="pm5ko"><del id="pm5ko"></del></i></thead></nav><thead id="pm5ko"></thead><pre id="pm5ko"></pre><optgroup id="pm5ko"><xmp id="pm5ko"><label id="pm5ko"><legend id="pm5ko"></legend></label></xmp></optgroup><menuitem id="pm5ko"><strong id="pm5ko"><sup id="pm5ko"><strong id="pm5ko"></strong></sup></strong></menuitem><b id="pm5ko"><p id="pm5ko"><kbd id="pm5ko"><thead id="pm5ko"></thead></kbd></p></b><sup id="pm5ko"></sup><pre id="pm5ko"></pre><address id="pm5ko"></address><address id="pm5ko"></address><sup id="pm5ko"></sup><optgroup id="pm5ko"><td id="pm5ko"></td></optgroup><xmp id="pm5ko"></xmp><pre id="pm5ko"><form id="pm5ko"></form></pre><video id="pm5ko"></video><ol id="pm5ko"></ol><var id="pm5ko"></var><dl id="pm5ko"></dl><kbd id="pm5ko"><strong id="pm5ko"><rp id="pm5ko"></rp></strong></kbd><pre id="pm5ko"><big id="pm5ko"></big></pre></div>

</html>