<style id="j11mf"></style>
\n

The simple photo album.<\/h1>\n
\n php\n <\/span>error_reporting<\/span>(0);\n <\/span>if<\/span>(!$_GET<\/span>[\"page\"]){\n <\/span>$page<\/span> = 1;\n }<\/span>else<\/span>\n $page<\/span> = $_GET<\/span>[\"page\"];\n <\/span>$filename<\/span> = \"data.dat\";\n <\/span>$myfile<\/span> = file<\/span>($filename<\/span>);\n <\/span>$z<\/span> = $myfile<\/span>[0];\n <\/span>if<\/span>($z<\/span> == NULL<\/span>){\n <\/span>echo<\/span> \"目前記錄條數(shù)為:0\";\n }<\/span>else<\/span>{\n <\/span>$temp<\/span> = explode<\/span>(\"||\",$myfile<\/span>[0]);\n <\/span>echo<\/span> \"共有\(zhòng)".$temp<\/span>[0].\"條內(nèi)容\";\n <\/span>echo<\/span> \"    \";\n <\/span>$p_count<\/span> = ceil<\/span>($temp<\/span>[0]\/8);\n <\/span>echo<\/span> \"分\".$_count<\/span>.\"頁顯示\";\n <\/span>echo<\/span> \"    \";\n <\/span>echo<\/span> \"當(dāng)前顯示第\".$page<\/span>.\"頁\";\n <\/span>echo<\/span> \"    \";\n <\/span>echo<\/span> \"
\";\n <\/span>if<\/span>($page<\/span> != ceil<\/span>($temp<\/span>[0]\/8)){\n <\/span>$current_size<\/span> = 8;\n }<\/span>else<\/span>{\n <\/span>$current_size<\/span> = $temp<\/span>[0]%8;\n }\n <\/span>if<\/span>($current_size<\/span> == 0){\n <\/span>$current_size<\/span> = 8;\n }\n <\/span>for<\/span>($i<\/span>=0;$i<\/span><ceil<\/span>($current_size<\/span>\/4);$i<\/span>++){\n <\/span>for<\/span>($j<\/span>=0;$j<\/span><4;$j<\/span>++){\n <\/span>$temp<\/span> = explode<\/span>(\"||\", $myfile<\/span>[$i<\/span>*4+$j<\/span>+($page<\/span>-1)*8]);\n <\/span>if<\/span>(($i<\/span>*4+$j<\/span>+($page<\/span>-1)*8)<$z<\/span>){\n <\/span>$imgfile<\/span> = \".\/images\/\".$temp<\/span>[1];\n <\/span>$flag<\/span> = getimagesize<\/span>($imgfile<\/span>);\n <\/span>echo<\/span> \"$temp<\/span>[0].\">$temp<\/span>[1];\n <\/span>if<\/span>($flag<\/span>[0]>180||$flag<\/span>[1]>100){\n <\/span>echo<\/span> \" width=180 height=\".ceil<\/span>($flag<\/span>[1]*180\/$flag<\/span>[0]);\n }\n <\/span>echo<\/span> \" border=\\\"0\\\"><\/a>\";\n }<\/span>else<\/span>{\n <\/span>echo<\/span> \"\";\n\n }\n }\n\n }\n <\/span>echo<\/span> \"<\/table>\";\n }\n <\/span>echo<\/span> \"

\";\n <\/span>$prev_page<\/span> = $page<\/span> - 1;\n <\/span>$next_page<\/span> = $page<\/span> + 1;\n <\/span>if<\/span>($page<\/span> <= 1){\n <\/span>echo<\/span> \"第一頁 | \";\n }<\/span>else<\/span>{\n <\/span>echo<\/span> \"第一頁<\/a> | \";\n }\n <\/span>if<\/span>($prev_page<\/span> < 1){\n <\/span>echo<\/span> \"上一頁 | \";\n }<\/span>else<\/span>{\n <\/span>echo<\/span> \"上一頁<\/a> | \";\n }\n <\/span>if<\/span>($next_page<\/span> > $p_count<\/span>){\n <\/span>echo<\/span> \"下一頁 | \";\n }<\/span>else<\/span>{\n <\/span>echo<\/span> \"下一頁<\/a> | \";\n }\n <\/span>if<\/span>($page<\/span> >= $p_count<\/span>){\n <\/span>echo<\/span> \"最后一頁<\/p>\\n\";\n }<\/span>else<\/span>{\n <\/span>echo<\/span> \"最后一頁<\/a><\/p>\\n\";\n }\n <\/span>?>\n<\/center>\n Upload Files<\/a>\n<\/body>\n<\/html><\/pre>\n\n

2. Backend management<\/p>\n\n

\n\n    \n    后臺(tái)處理頁面<\/title>\n<\/head>\n<body>
<h1><a href="http://ipnx.cn/">亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱</a></h1>\n<?<span>php\n    <\/span><span>error_reporting<\/span>(1<span>);\n    <\/span><span>if<\/span>(<span>$_FILES<\/span>['upfile']['name'] == <span>NULL<\/span><span>){\n        <\/span><span>echo<\/span> \"No file choice.\"<span>;\n        <\/span><span>echo<\/span> \"<a href='upfile.php'>返回<\/a>\"<span>;\n    }<\/span><span>else<\/span><span>{\n        <\/span><span>$filepath<\/span> = \"\/Library\/WebServer\/Documents\/test\/images\/\"<span>;\n        <\/span><span>$tmp_name<\/span> = <span>$_FILES<\/span>['upfile']['tmp_name'<span>];\n        <\/span><span>$filename<\/span> = <span>$filepath<\/span>.<span>$_FILES<\/span>['upfile']['name'<span>];\n<\/span><span>\/\/<\/span><span>        echo $filename;<\/span>\n        <span>if<\/span>(<span>move_uploaded_file<\/span>(<span>$tmp_name<\/span>,<span>$filename<\/span><span>)){\n            <\/span><span>$dataname<\/span> = \"data.dat\"<span>;\n            <\/span><span>$myfile<\/span> = <span>file<\/span>(<span>$dataname<\/span><span>);\n\n            <\/span><span>if<\/span>(<span>$myfile<\/span>[0] == \"\"<span>){\n\n                <\/span><span>$fp<\/span> = <span>fopen<\/span>(<span>$dataname<\/span>, \"a+\"<span>);\n                <\/span><span>fwrite<\/span>(<span>$fp<\/span>,\"1||\".<span>$_FILES<\/span>['upfile']['name'].\"||\".<span>$_POST<\/span>[\"content\"].\"||\".<span>date<\/span>(Y年m月d日).\"\\n\"<span>);\n                <\/span><span>fclose<\/span>(<span>$fp<\/span><span>);\n            }<\/span><span>else<\/span><span>{\n                <\/span><span>$temp<\/span> = <span>explode<\/span>(\"||\", <span>$myfile<\/span>[0<span>]);\n                <\/span><span>$temp<\/span>[0]++<span>;\n                <\/span><span>$fp<\/span> = <span>fopen<\/span>(<span>$dataname<\/span>, \"r\"<span>);\n                <\/span><span>$line_has<\/span> = <span>fread<\/span>(<span>$fp<\/span>,<span>filesize<\/span>(\"<span>$dataname<\/span>\"<span>));\n                <\/span><span>fclose<\/span>(<span>$fp<\/span><span>);\n                <\/span><span>$fp<\/span> = <span>fopen<\/span>(<span>$dataname<\/span>, \"w\"<span>);\n                <\/span><span>fwrite<\/span>(<span>$fp<\/span>,<span>$temp<\/span>[0].\"||\".<span>$_FILES<\/span>['upfile']['name'].\"||\".<span>$_POST<\/span>[\"content\"].\"||\".<span>date<\/span>(\"Y年m月d日\").\"\\n\"<span>);\n                <\/span><span>fwrite<\/span>(<span>$fp<\/span>,\"<span>$line_has<\/span>\"<span>);\n                <\/span><span>fclose<\/span>(<span>$fp<\/span><span>);\n            }\n\n            <\/span><span>echo<\/span> \"<p><\/p>\"<span>;\n            <\/span><span>echo<\/span> \"指定文件已經(jīng)上傳成功!\"<span>;\n            <\/span><span>echo<\/span> \"<p><\/p>\"<span>;\n            <\/span><span>echo<\/span> \"點(diǎn)<a href='index.php'>返回<\/a>\"<span>;\n        }<\/span><span>else<\/span><span>{\n            <\/span><span>echo<\/span> \"文件上傳失敗!\"<span>;\n        }\n    }\n<\/span>?>\n<\/body>\n<\/html><\/pre>\n\n<p>3. Image upload<\/p>\n\n<pre class='brush:php;toolbar:false;'><html>\n<head>\n    <meta charset=\"utf-8\">\n    <title>相冊(cè)上傳頁面<\/title>\n<\/head>\n<body>\n    
	
<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="wjcelcm34c"   class="head">
        <div   id="wjcelcm34c"   class="haed_left">
            <div   id="wjcelcm34c"   class="haed_logo">
                <a href="http://ipnx.cn/" title="" class="haed_logo_a">
                    <img src="/static/imghw/logo.png" alt="" class="haed_logoimg">
                </a>
            </div>
            <div   id="wjcelcm34c"   class="head_nav">
                <div   id="wjcelcm34c"   class="head_navs">
                    <a href="javascript:;" title="Community" class="head_nava head_nava-template1">Community</a>
                    <div   class="wjcelcm34c"   id="dropdown-template1" style="display: none;">
                        <div   id="wjcelcm34c"   class="languagechoose">
                            <a href="http://ipnx.cn/article.html" title="Articles" class="languagechoosea on">Articles</a>
                            <a href="http://ipnx.cn/faq/zt" title="Topics" class="languagechoosea">Topics</a>
                            <a href="http://ipnx.cn/wenda.html" title="Q&A" class="languagechoosea">Q&A</a>
                        </div>
                    </div>
                </div>

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

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

                <div   id="wjcelcm34c"   class="head_navs">
                    <a href="http://ipnx.cn/ai" title="AI Tools" class="head_nava head_nava-template1_3">AI Tools</a>
                </div>

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

                        </div>
                    </div>
                </div>
            </div>
        </div>
                    <div   id="wjcelcm34c"   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="wjcelcm34c"   class="head_right">
            <div   id="wjcelcm34c"   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="wjcelcm34c"   id="dropdown-template" style="display: none;">
                    <div   id="wjcelcm34c"   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="wjcelcm34c"    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="wjcelcm34c"   class="Article_Details_main">
			<div   id="wjcelcm34c"   class="Article_Details_main1">
							<div   id="wjcelcm34c"   class="Article_Details_main1L">
					<div   id="wjcelcm34c"   class="Article_Details_main1Lmain" id="Article_Details_main1Lmain">
						<div   id="wjcelcm34c"   class="Article_Details_main1L1">Table of Contents</div>
						<div   id="wjcelcm34c"   class="Article_Details_main1L2" id="Article_Details_main1L2">
							<!-- 左側(cè)懸浮,文章定位標(biāo)題1 id="Article_Details_main1L2s_1"-->
															<div   id="wjcelcm34c"   class="Article_Details_main1L2s ">
									<a href="#PHP-photo-album-function-implementation-including-PHP-picture-upload-background-management-browsing-and-deletion-tutorial-examples" title="PHP photo album function implementation (including PHP picture upload, background management, browsing and deletion) tutorial examples, " >PHP photo album function implementation (including PHP picture upload, background management, browsing and deletion) tutorial examples, </a>
								</div>
														</div>
					</div>
				</div>
							<div   id="wjcelcm34c"   class="Article_Details_main1M">
					<div   id="wjcelcm34c"   class="phpgenera_Details_mainL1">
						<a href="http://ipnx.cn/" title="Home"
							class="phpgenera_Details_mainL1a">Home</a>
						<img src="/static/imghw/top_right.png" alt="" />
												<a href="http://ipnx.cn/be/"
							class="phpgenera_Details_mainL1a">Backend Development</a>
						<img src="/static/imghw/top_right.png" alt="" />
												<a href="http://ipnx.cn/php-weizijiaocheng.html"
							class="phpgenera_Details_mainL1a">PHP Tutorial</a>
						<img src="/static/imghw/top_right.png" alt="" />
						<span>PHP photo album function implementation (including PHP image upload, background management, browsing and deletion) tutorial examples, _PHP tutorial</span>
					</div>
					
					<div   id="wjcelcm34c"   class="Articlelist_txts">
						<div   id="wjcelcm34c"   class="Articlelist_txts_info">
							<h1 class="Articlelist_txts_title">PHP photo album function implementation (including PHP image upload, background management, browsing and deletion) tutorial examples, _PHP tutorial</h1>
							<div   id="wjcelcm34c"   class="Articlelist_txts_info_head">
								<div   id="wjcelcm34c"   class="author_info">
									<a href="http://ipnx.cn/member/887227.html"  class="author_avatar">
									<img class="lazy"  data-src="https://img.php.cn/upload/avatar/000/887/227/63bb7851c9547215.jpg" src="/static/imghw/default1.png" alt="WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB">
									</a>
									<div   id="wjcelcm34c"   class="author_detail">
																			<a href="http://ipnx.cn/member/887227.html" class="author_name">WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB</a>
                                										</div>
								</div>
                			</div>
							<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 13, 2016 am	 09:44 AM</span>
															<div   id="wjcelcm34c"   class="Articlelist_txts_infos">
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss on">php</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">upload</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">example</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">delete</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">Function</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">Include</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">Backstage</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">and</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">picture</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">accomplish</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">Tutorial</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">Browse</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">photo album</span>
																			<span id="wjcelcm34c"    class="Articlelist_txts_infoss ">manage</span>
																	</div>
														
						</div>
					</div>
					<hr />
					<div   id="wjcelcm34c"   class="article_main php-article">
						<div   id="wjcelcm34c"   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></p>
<h2 id="PHP-photo-album-function-implementation-including-PHP-picture-upload-background-management-browsing-and-deletion-tutorial-examples">PHP photo album function implementation (including PHP picture upload, background management, browsing and deletion) tutorial examples, </h2>
<p>PHP album function implementation (including PHP picture upload, background management, browsing and deletion) ) Tutorial example consists of five parts: </p>
<p>1. Album homepage</p>

<pre class='brush:php;toolbar:false;'><html>
<head>
    <meta charset="utf-8">
    <title>相冊(cè)首頁</title>
    <style><span>
        body{
            width</span>:<span>800px;
            margin</span>:0<span> auto;
            test</span>-align:<span>center;
        }
    </span></style>
</head>
<body>
    <h1>The simple photo album.</h1>
    <center>
    <?<span>php
    </span><span>error_reporting</span>(0<span>);
    </span><span>if</span>(!<span>$_GET</span>["page"<span>]){
        </span><span>$page</span> = 1<span>;
    }</span><span>else</span>
        <span>$page</span> = <span>$_GET</span>["page"<span>];
        </span><span>$filename</span> = "data.dat"<span>;
        </span><span>$myfile</span> = <span>file</span>(<span>$filename</span><span>);
        </span><span>$z</span> = <span>$myfile</span>[0<span>];
        </span><span>if</span>(<span>$z</span> == <span>NULL</span><span>){
            </span><span>echo</span> "目前記錄條數(shù)為:0"<span>;
        }</span><span>else</span><span>{
            </span><span>$temp</span> = <span>explode</span>("||",<span>$myfile</span>[0<span>]);
            </span><span>echo</span> "共有".<span>$temp</span>[0]."條內(nèi)容"<span>;
            </span><span>echo</span> "    "<span>;
            </span><span>$p_count</span> = <span>ceil</span>(<span>$temp</span>[0]/8<span>);
            </span><span>echo</span> "分".<span>$_count</span>."頁顯示"<span>;
            </span><span>echo</span> "    "<span>;
            </span><span>echo</span> "當(dāng)前顯示第".<span>$page</span>."頁"<span>;
            </span><span>echo</span> "    "<span>;
            </span><span>echo</span> "<br>"<span>;
            </span><span>if</span>(<span>$page</span> != <span>ceil</span>(<span>$temp</span>[0]/8<span>)){
                </span><span>$current_size</span> = 8<span>;
            }</span><span>else</span><span>{
                </span><span>$current_size</span> = <span>$temp</span>[0]%8<span>;
            }
            </span><span>if</span>(<span>$current_size</span> == 0<span>){
                </span><span>$current_size</span> = 8<span>;
            }
            </span><span>for</span>(<span>$i</span>=0;<span>$i</span><<span>ceil</span>(<span>$current_size</span>/4);<span>$i</span>++<span>){
                </span><span>for</span>(<span>$j</span>=0;<span>$j</span><4;<span>$j</span>++<span>){
                    </span><span>$temp</span> = <span>explode</span>("||", <span>$myfile</span>[<span>$i</span>*4+<span>$j</span>+(<span>$page</span>-1)*8<span>]);
                    </span><span>if</span>((<span>$i</span>*4+<span>$j</span>+(<span>$page</span>-1)*8)<<span>$z</span><span>){
                        </span><span>$imgfile</span> = "./images/".<span>$temp</span>[1<span>];
                        </span><span>$flag</span> = <span>getimagesize</span>(<span>$imgfile</span><span>);
                        </span><span>echo</span> "<a href=viewimage.php?id=".<span>$temp</span>[0]."><img src=/test/images/".<span>$temp</span>[1<span>];
                        </span><span>if</span>(<span>$flag</span>[0]>180||<span>$flag</span>[1]>100<span>){
                            </span><span>echo</span> " width=180 height=".<span>ceil</span>(<span>$flag</span>[1]*180/<span>$flag</span>[0<span>]);
                        }
                        </span><span>echo</span> " border=\"0\"></a>"<span>;
                    }</span><span>else</span><span>{
                        </span><span>echo</span> ""<span>;

                    }
                }

            }
            </span><span>echo</span> "</table>"<span>;
        }
        </span><span>echo</span> "<p>"<span>;
        </span><span>$prev_page</span> = <span>$page</span> - 1<span>;
        </span><span>$next_page</span> = <span>$page</span> + 1<span>;
        </span><span>if</span>(<span>$page</span> <= 1<span>){
            </span><span>echo</span> "第一頁 | "<span>;
        }</span><span>else</span><span>{
            </span><span>echo</span> "<a href='<span>$PATH_INFO</span>?page=1'>第一頁</a> | "<span>;
        }
        </span><span>if</span>(<span>$prev_page</span> < 1<span>){
            </span><span>echo</span> "上一頁 | "<span>;
        }</span><span>else</span><span>{
            </span><span>echo</span> "<a href='<span>$PATH_INFO</span>?page=<span>$prev_page</span>'>上一頁</a> | "<span>;
        }
        </span><span>if</span>(<span>$next_page</span> > <span>$p_count</span><span>){
            </span><span>echo</span> "下一頁 | "<span>;
        }</span><span>else</span><span>{
            </span><span>echo</span> "<a href='<span>$PATH_INFO</span>?page=<span>$next_page</span>'>下一頁</a> | "<span>;
        }
        </span><span>if</span>(<span>$page</span> >= <span>$p_count</span><span>){
            </span><span>echo</span> "最后一頁</p>\n"<span>;
        }</span><span>else</span><span>{
            </span><span>echo</span> "<a href='<span>$PATH_INFO</span>?page=<span>$p_count</span>'>最后一頁</a></p>\n"<span>;
        }
    </span>?>
</center>
    <a href="upfile.php">Upload Files</a>
</body>
</html></pre>

<p>2. Backend management</p>

<pre class='brush:php;toolbar:false;'><html>
<head>
    <meta charset="utf-8">
    <title>后臺(tái)處理頁面</title>
</head>
<body>
<?<span>php
    </span><span>error_reporting</span>(1<span>);
    </span><span>if</span>(<span>$_FILES</span>['upfile']['name'] == <span>NULL</span><span>){
        </span><span>echo</span> "No file choice."<span>;
        </span><span>echo</span> "<a href='upfile.php'>返回</a>"<span>;
    }</span><span>else</span><span>{
        </span><span>$filepath</span> = "/Library/WebServer/Documents/test/images/"<span>;
        </span><span>$tmp_name</span> = <span>$_FILES</span>['upfile']['tmp_name'<span>];
        </span><span>$filename</span> = <span>$filepath</span>.<span>$_FILES</span>['upfile']['name'<span>];
</span><span>//</span><span>        echo $filename;</span>
        <span>if</span>(<span>move_uploaded_file</span>(<span>$tmp_name</span>,<span>$filename</span><span>)){
            </span><span>$dataname</span> = "data.dat"<span>;
            </span><span>$myfile</span> = <span>file</span>(<span>$dataname</span><span>);

            </span><span>if</span>(<span>$myfile</span>[0] == ""<span>){

                </span><span>$fp</span> = <span>fopen</span>(<span>$dataname</span>, "a+"<span>);
                </span><span>fwrite</span>(<span>$fp</span>,"1||".<span>$_FILES</span>['upfile']['name']."||".<span>$_POST</span>["content"]."||".<span>date</span>(Y年m月d日)."\n"<span>);
                </span><span>fclose</span>(<span>$fp</span><span>);
            }</span><span>else</span><span>{
                </span><span>$temp</span> = <span>explode</span>("||", <span>$myfile</span>[0<span>]);
                </span><span>$temp</span>[0]++<span>;
                </span><span>$fp</span> = <span>fopen</span>(<span>$dataname</span>, "r"<span>);
                </span><span>$line_has</span> = <span>fread</span>(<span>$fp</span>,<span>filesize</span>("<span>$dataname</span>"<span>));
                </span><span>fclose</span>(<span>$fp</span><span>);
                </span><span>$fp</span> = <span>fopen</span>(<span>$dataname</span>, "w"<span>);
                </span><span>fwrite</span>(<span>$fp</span>,<span>$temp</span>[0]."||".<span>$_FILES</span>['upfile']['name']."||".<span>$_POST</span>["content"]."||".<span>date</span>("Y年m月d日")."\n"<span>);
                </span><span>fwrite</span>(<span>$fp</span>,"<span>$line_has</span>"<span>);
                </span><span>fclose</span>(<span>$fp</span><span>);
            }

            </span><span>echo</span> "<p></p>"<span>;
            </span><span>echo</span> "指定文件已經(jīng)上傳成功!"<span>;
            </span><span>echo</span> "<p></p>"<span>;
            </span><span>echo</span> "點(diǎn)<a href='index.php'>返回</a>"<span>;
        }</span><span>else</span><span>{
            </span><span>echo</span> "文件上傳失?。?quot;<span>;
        }
    }
</span>?>
</body>
</html></pre>

<p>3. Image upload</p>

<pre class='brush:php;toolbar:false;'><html>
<head>
    <meta charset="utf-8">
    <title>相冊(cè)上傳頁面</title>
</head>
<body>
    <script language="javascript">
        <span>function</span><span> Juge(theForm){
            </span><span>if</span>(theForm.upfile.value==""<span>){
                alert(</span>"Please choice file!"<span>);
                theForm</span>.upfile.<span>focus();
                </span><span>return</span> (<span>false</span><span>);
            }
            </span><span>if</span>(theForm.content.value==""<span>){
                alert(</span>"Please input image information!"<span>);
                theForm</span>.content.<span>focus();
                </span><span>return</span> (<span>false</span><span>);
            }
            </span><span>if</span>(theForm.content.value.length>60<span>){
                alert(</span>"The information must less than 60 chars."<span>);
                theForm</span>.content.<span>focus();
                </span><span>return</span> (<span>false</span><span>);
            }
        }
    </span></script>
<center>
    <h1>Image album upload page</h1>
    <p>
        <a href="index.php">返回首頁</a>
        <table border="1">
            <form enctype="multipart/form-data" action="system.php" method="post" onsubmit="return Juge(this)">
                <tr>
                    <td>選擇圖片:</td>
                    <td><input name="upfile" type="file"></td>
                </tr>
                <tr>
                    <td>輸入說明:</td>
                    <td><input name="content" type="text">(*限30字)</td>
                </tr>
                <tr>
                    <td colspan="2">
                        <center>
                            <input type="submit" value="提交">
                            <input type="reset" value="重置">
                        </center>
                    </td>
                </tr>
            </form>
        </table>
    </p>
</center>
</body>
</html></pre>

<p>4. Picture browsing</p>

<pre class='brush:php;toolbar:false;'><html>
<head>
    <meta charset="utf-8">
    <title>查看圖片</title>
</head>
<body>
<center>
    <h1>View images.</h1>
    <?<span>php
    </span><span>error_reporting</span>(0<span>);
    </span><span>if</span>(!<span>$_GET</span>["id"<span>]){
        </span><span>echo</span> "No assign id."<span>;
        </span><span>echo</span> "<a href='index.php'>首頁</a>"<span>;
        </span><span>exit</span><span>();
    }</span><span>else</span><span>{
        </span>?>
        <a href="index.php">返回首頁</a>   &<span>nbsp;
        </span><a href="delimage.php?id=<?php echo <span>$_GET</span>['id'] ?>">刪除圖片</a><br>
    <?<span>php
        </span><span>$id</span> = <span>$_GET</span>["id"<span>];
        </span><span>$filename</span> = "data.dat"<span>;
        </span><span>$myfile</span> = <span>file</span>(<span>$filename</span><span>);
        </span><span>$z</span> = <span>$myfile</span>[0<span>];
        </span><span>if</span>(<span>$z</span> == ""<span>){
            </span><span>echo</span> "目前記錄條數(shù)為0"<span>;
        }</span><span>else</span><span>{
            </span><span>$temp</span> = <span>explode</span>("||", <span>$myfile</span>[<span>$z</span>-<span>$id</span><span>]);
            </span><span>echo</span> "<p>"."文件名:".<span>$temp</span>[1]."</p>"<span>;
            </span><span>echo</span> "<p><img src=/test/images/".<span>$temp</span>[1]."></p>"<span>;
            </span><span>echo</span> "<p>圖片簡介:".<span>$temp</span>[2]."</p>"<span>;
            </span><span>echo</span> "<p>上傳日期:".<span>$temp</span>[3]."</p>"<span>;
        }
    }
    </span>?>
</center>
</body>
</html></pre>

<p>5. Delete pictures</p>

<pre class='brush:php;toolbar:false;'><html>
<head>
    <meta charset="utf-8">
    <title>刪除圖片</title>
</head>
<body>
<?<span>php
    </span><span>error_reporting</span>(0<span>);
    </span><span>if</span>(!<span>$_GET</span>["id"<span>]){
        </span><span>echo</span> "No id assign."<span>;
        </span><span>echo</span> "<br>"<span>;
        </span><span>echo</span> "<a href='index.php'>首頁</a>"<span>;
        </span><span>exit</span><span>();
    }</span><span>else</span><span>{
        </span><span>$id</span> = <span>$_GET</span>["id"<span>];
        </span><span>$filename</span> = "data.dat"<span>;
        </span><span>$myfile</span> = <span>file</span>(<span>$filename</span><span>);
        </span><span>$z</span> = <span>$myfile</span>[0<span>];
        </span><span>if</span>(<span>$z</span> == <span>NULL</span><span>){
            </span><span>echo</span> "目前記錄條數(shù)為:0"<span>;
        }</span><span>else</span><span>{
            </span><span>$temp</span> = <span>explode</span>("||", <span>$myfile</span>[<span>$z</span>-<span>$id</span><span>]);
            </span><span>print_r</span>(<span>$temp</span><span>);
            </span><span>$filepath</span> = "/Library/WebServer/Documents/test/images/"<span>;
            </span><span>$imgfile</span> = <span>$filepath</span>.<span>$temp</span>[1<span>];
            </span><span>echo</span> <span>$imgfile</span><span>;
            </span><span>unlink</span>(<span>$imgfile</span><span>);
            </span><span>for</span>(<span>$i</span>=0;<span>$i</span><(<span>$z</span>-<span>$id</span>);<span>$i</span>++<span>){
                </span><span>$temp2</span> = <span>explode</span>("||", <span>$myfile</span>[<span>$i</span><span>]);
                </span><span>$temp2</span>[0]--<span>;
                </span><span>if</span>(<span>$temp2</span>[0]>0<span>)
                    </span><span>$text2</span> = <span>$text2</span>.<span>$temp2</span>[0]."||".<span>$temp2</span>[1]."||".<span>$temp2</span>[2]."||".<span>$temp2</span>[3<span>];
            }
            </span><span>for</span>(<span>$i</span>=(<span>$z</span>-<span>$id</span>+1);<span>$i</span><<span>$z</span>;<span>$i</span>++<span>){
                </span><span>$text1</span> = <span>$text1</span>.<span>$myfile</span>[<span>$i</span><span>];
            }
            </span><span>$fp</span> = <span>fopen</span>(<span>$filename</span>, "w"<span>);
            </span><span>fwrite</span>(<span>$fp</span>, <span>$text2</span><span>);
            </span><span>fwrite</span>(<span>$fp</span>, <span>$text1</span><span>);
            </span><span>fclose</span>(<span>$fp</span><span>);
            </span><span>echo</span> "指定文件已經(jīng)刪除成功!"<span>;
            </span><span>echo</span> "<a href='index.php'>首頁</a>"<span>;
        }

    }
</span>?>
</body>
</html></pre>
<p align="left"></p>
<div style="display:none;">
<span id="url" itemprop="url">http://www.bkjia.com/PHPjc/1048764.html</span><span id="indexUrl" itemprop="indexUrl">www.bkjia.com</span><span id="isOriginal" itemprop="isOriginal">true</span><span id="isBasedOnUrl" itemprop="isBasedOnUrl">http: //www.bkjia.com/PHPjc/1048764.html</span><span id="genre" itemprop="genre">TechArticle</span><span id="description" itemprop="description">PHP photo album function implementation (including php image upload, background management, browsing and deletion) tutorial examples, photo album function implementation ( Including PHP image upload, background management, browsing and deletion) tutorial examples include five...</span>
</div>
<div   id="wjcelcm34c"   class="art_confoot"></div>


						</div>
					</div>
					<div   id="wjcelcm34c"   class="wzconShengming_sp">
						<div   id="wjcelcm34c"   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="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4">
						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
							<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>4 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796832397.html" title="Grass Wonder Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide | Uma Musume Pretty Derby</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796833110.html" title="Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them" class="phpgenera_Details_mainR4_bottom_title">Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By DDD</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796831605.html" title="Uma Musume Pretty Derby Banner Schedule (July 2025)" class="phpgenera_Details_mainR4_bottom_title">Uma Musume Pretty Derby Banner Schedule (July 2025)</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796827692.html" title="DAIWA Scarlet Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">DAIWA Scarlet Build Guide | Uma Musume Pretty Derby</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 months ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
														</div>
							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
								<a href="http://ipnx.cn/article.html">Show More</a>
							</div>
						</div>
					</div> -->


											<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3">
							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
								<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR3_bottom">
																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
									<a href="http://ipnx.cn/ai">Show More</a>
								</div>
							</div>
						</div>
					


					<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4">
						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
							<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>4 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796832397.html" title="Grass Wonder Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">Grass Wonder Build Guide | Uma Musume Pretty Derby</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796833110.html" title="Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them" class="phpgenera_Details_mainR4_bottom_title">Roblox: 99 Nights In The Forest - All Badges And How To Unlock Them</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By DDD</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796831605.html" title="Uma Musume Pretty Derby Banner Schedule (July 2025)" class="phpgenera_Details_mainR4_bottom_title">Uma Musume Pretty Derby Banner Schedule (July 2025)</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>3 weeks ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/1796827692.html" title="DAIWA Scarlet Build Guide | Uma Musume Pretty Derby" class="phpgenera_Details_mainR4_bottom_title">DAIWA Scarlet Build Guide | Uma Musume Pretty Derby</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<span>1 months ago</span>
										<span>By Jack chen</span>
									</div>
								</div>
														</div>
							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
								<a href="http://ipnx.cn/article.html">Show More</a>
							</div>
						</div>
					</div>


											<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3">
							<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
								<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR3_bottom">
																		<div   id="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_top">
											<a href="http://ipnx.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="wjcelcm34c"   class="phpmain_tab2_mids_info">
												<a href="http://ipnx.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="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
									<a href="http://ipnx.cn/ai">Show More</a>
								</div>
							</div>
						</div>
										

					
					<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4">
						<div   id="wjcelcm34c"   class="phpmain1_4R_readrank">
							<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainR4_bottom">
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/laravel-tutori" title="Laravel Tutorial" class="phpgenera_Details_mainR4_bottom_title">Laravel Tutorial</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1596</span>
										</div>
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>29</span>
										</div>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/php-tutorial" title="PHP Tutorial" class="phpgenera_Details_mainR4_bottom_title">PHP Tutorial</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>1480</span>
										</div>
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>72</span>
										</div>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/nytminicrosswordanswe" title="nyt mini crossword answers" class="phpgenera_Details_mainR4_bottom_title">nyt mini crossword answers</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>268</span>
										</div>
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>587</span>
										</div>
									</div>
								</div>
															<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms">
									<a href="http://ipnx.cn/faq/newyorktimesdailybrief" title="nyt connections hints and answers" class="phpgenera_Details_mainR4_bottom_title">nyt connections hints and answers</a>
									<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_info">
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/eyess.png" alt="" />
											<span>128</span>
										</div>
										<div   id="wjcelcm34c"   class="phpgenera_Details_mainR4_bottoms_infos">
											<img src="/static/imghw/tiezi.png" alt="" />
											<span>836</span>
										</div>
									</div>
								</div>
														</div>
							<div   id="wjcelcm34c"   class="phpgenera_Details_mainR3_more">
								<a href="http://ipnx.cn/faq/zt">Show More</a>
							</div>
						</div>
					</div>
				</div>
			</div>
							<div   id="wjcelcm34c"   class="Article_Details_main2">
					<div   id="wjcelcm34c"   class="phpgenera_Details_mainL4">
						<div   id="wjcelcm34c"   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="wjcelcm34c"   class="phpgenera_Details_mainL4_info">

													<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796846918.html" title="How to use PHP to build social sharing functions PHP sharing interface integration practice" 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/503/042/175318476518239.png?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to use PHP to build social sharing functions PHP sharing interface integration practice" />
								</a>
								<a href="http://ipnx.cn/faq/1796846918.html" title="How to use PHP to build social sharing functions PHP sharing interface integration practice" class="phphistorical_Version2_mids_title">How to use PHP to build social sharing functions PHP sharing interface integration practice</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 25, 2025 pm	 08:51 PM</span>
								<p class="Articlelist_txts_p">The core method of building social sharing functions in PHP is to dynamically generate sharing links that meet the requirements of each platform. 1. First get the current page or specified URL and article information; 2. Use urlencode to encode the parameters; 3. Splice and generate sharing links according to the protocols of each platform; 4. Display links on the front end for users to click and share; 5. Dynamically generate OG tags on the page to optimize sharing content display; 6. Be sure to escape user input to prevent XSS attacks. This method does not require complex authentication, has low maintenance costs, and is suitable for most content sharing needs.</p>
							</div>
														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796846920.html" title="How to use PHP combined with AI to achieve text error correction PHP syntax detection and optimization" 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/503/042/175318452251625.jpeg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to use PHP combined with AI to achieve text error correction PHP syntax detection and optimization" />
								</a>
								<a href="http://ipnx.cn/faq/1796846920.html" title="How to use PHP combined with AI to achieve text error correction PHP syntax detection and optimization" class="phphistorical_Version2_mids_title">How to use PHP combined with AI to achieve text error correction PHP syntax detection and optimization</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 25, 2025 pm	 08:57 PM</span>
								<p class="Articlelist_txts_p">To realize text error correction and syntax optimization with AI, you need to follow the following steps: 1. Select a suitable AI model or API, such as Baidu, Tencent API or open source NLP library; 2. Call the API through PHP's curl or Guzzle and process the return results; 3. Display error correction information in the application and allow users to choose whether to adopt it; 4. Use php-l and PHP_CodeSniffer for syntax detection and code optimization; 5. Continuously collect feedback and update the model or rules to improve the effect. When choosing AIAPI, focus on evaluating accuracy, response speed, price and support for PHP. Code optimization should follow PSR specifications, use cache reasonably, avoid circular queries, review code regularly, and use X</p>
							</div>
														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796846910.html" title="PHP creates a blog comment system to monetize PHP comment review and anti-brush strategy" 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/503/042/175324698785730.png?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP creates a blog comment system to monetize PHP comment review and anti-brush strategy" />
								</a>
								<a href="http://ipnx.cn/faq/1796846910.html" title="PHP creates a blog comment system to monetize PHP comment review and anti-brush strategy" class="phphistorical_Version2_mids_title">PHP creates a blog comment system to monetize PHP comment review and anti-brush strategy</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 25, 2025 pm	 08:27 PM</span>
								<p class="Articlelist_txts_p">1. Maximizing the commercial value of the comment system requires combining native advertising precise delivery, user paid value-added services (such as uploading pictures, top-up comments), influence incentive mechanism based on comment quality, and compliance anonymous data insight monetization; 2. The audit strategy should adopt a combination of pre-audit dynamic keyword filtering and user reporting mechanisms, supplemented by comment quality rating to achieve content hierarchical exposure; 3. Anti-brushing requires the construction of multi-layer defense: reCAPTCHAv3 sensorless verification, Honeypot honeypot field recognition robot, IP and timestamp frequency limit prevents watering, and content pattern recognition marks suspicious comments, and continuously iterate to deal with attacks.</p>
							</div>
														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796846849.html" title="PHP integrated AI intelligent picture recognition PHP visual content automatic labeling" 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/503/042/175334748653543.png?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP integrated AI intelligent picture recognition PHP visual content automatic labeling" />
								</a>
								<a href="http://ipnx.cn/faq/1796846849.html" title="PHP integrated AI intelligent picture recognition PHP visual content automatic labeling" class="phphistorical_Version2_mids_title">PHP integrated AI intelligent picture recognition PHP visual content automatic labeling</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 25, 2025 pm	 05:42 PM</span>
								<p class="Articlelist_txts_p">The core idea of integrating AI visual understanding capabilities into PHP applications is to use the third-party AI visual service API, which is responsible for uploading images, sending requests, receiving and parsing JSON results, and storing tags into the database; 2. Automatic image tagging can significantly improve efficiency, enhance content searchability, optimize management and recommendation, and change visual content from "dead data" to "live data"; 3. Selecting AI services requires comprehensive judgments based on functional matching, accuracy, cost, ease of use, regional delay and data compliance, and it is recommended to start from general services such as Google CloudVision; 4. Common challenges include network timeout, key security, error processing, image format limitation, cost control, asynchronous processing requirements and AI recognition accuracy issues.</p>
							</div>
														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796846916.html" title="PHP calls AI intelligent voice assistant PHP voice interaction system construction" 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/503/042/175318512535508.jpeg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP calls AI intelligent voice assistant PHP voice interaction system construction" />
								</a>
								<a href="http://ipnx.cn/faq/1796846916.html" title="PHP calls AI intelligent voice assistant PHP voice interaction system construction" class="phphistorical_Version2_mids_title">PHP calls AI intelligent voice assistant PHP voice interaction system construction</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 25, 2025 pm	 08:45 PM</span>
								<p class="Articlelist_txts_p">User voice input is captured and sent to the PHP backend through the MediaRecorder API of the front-end JavaScript; 2. PHP saves the audio as a temporary file and calls STTAPI (such as Google or Baidu voice recognition) to convert it into text; 3. PHP sends the text to an AI service (such as OpenAIGPT) to obtain intelligent reply; 4. PHP then calls TTSAPI (such as Baidu or Google voice synthesis) to convert the reply to a voice file; 5. PHP streams the voice file back to the front-end to play, completing interaction. The entire process is dominated by PHP to ensure seamless connection between all links.</p>
							</div>
														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796846888.html" title="How to use PHP to combine AI to generate image. PHP automatically generates art works" 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/503/042/175326835276962.png?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to use PHP to combine AI to generate image. PHP automatically generates art works" />
								</a>
								<a href="http://ipnx.cn/faq/1796846888.html" title="How to use PHP to combine AI to generate image. PHP automatically generates art works" class="phphistorical_Version2_mids_title">How to use PHP to combine AI to generate image. PHP automatically generates art works</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 25, 2025 pm	 07:21 PM</span>
								<p class="Articlelist_txts_p">PHP does not directly perform AI image processing, but integrates through APIs, because it is good at web development rather than computing-intensive tasks. API integration can achieve professional division of labor, reduce costs, and improve efficiency; 2. Integrating key technologies include using Guzzle or cURL to send HTTP requests, JSON data encoding and decoding, API key security authentication, asynchronous queue processing time-consuming tasks, robust error handling and retry mechanism, image storage and display; 3. Common challenges include API cost out of control, uncontrollable generation results, poor user experience, security risks and difficult data management. The response strategies are setting user quotas and caches, providing propt guidance and multi-picture selection, asynchronous notifications and progress prompts, key environment variable storage and content audit, and cloud storage.</p>
							</div>
														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796846911.html" title="PHP realizes commodity inventory management and monetization PHP inventory synchronization and alarm mechanism" 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/503/042/175324572958058.png?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP realizes commodity inventory management and monetization PHP inventory synchronization and alarm mechanism" />
								</a>
								<a href="http://ipnx.cn/faq/1796846911.html" title="PHP realizes commodity inventory management and monetization PHP inventory synchronization and alarm mechanism" class="phphistorical_Version2_mids_title">PHP realizes commodity inventory management and monetization PHP inventory synchronization and alarm mechanism</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 25, 2025 pm	 08:30 PM</span>
								<p class="Articlelist_txts_p">PHP ensures inventory deduction atomicity through database transactions and FORUPDATE row locks to prevent high concurrent overselling; 2. Multi-platform inventory consistency depends on centralized management and event-driven synchronization, combining API/Webhook notifications and message queues to ensure reliable data transmission; 3. The alarm mechanism should set low inventory, zero/negative inventory, unsalable sales, replenishment cycles and abnormal fluctuations strategies in different scenarios, and select DingTalk, SMS or Email Responsible Persons according to the urgency, and the alarm information must be complete and clear to achieve business adaptation and rapid response.</p>
							</div>
														<div   id="wjcelcm34c"   class="phphistorical_Version2_mids">
								<a href="http://ipnx.cn/faq/1796848711.html" title="Beyond the LAMP Stack: PHP's Role in Modern Enterprise Architecture" 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/175356191176507.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Beyond the LAMP Stack: PHP's Role in Modern Enterprise Architecture" />
								</a>
								<a href="http://ipnx.cn/faq/1796848711.html" title="Beyond the LAMP Stack: PHP's Role in Modern Enterprise Architecture" class="phphistorical_Version2_mids_title">Beyond the LAMP Stack: PHP's Role in Modern Enterprise Architecture</a>
								<span id="wjcelcm34c"    class="Articlelist_txts_time">Jul 27, 2025 am	 04:31 AM</span>
								<p class="Articlelist_txts_p">PHPisstillrelevantinmodernenterpriseenvironments.1.ModernPHP(7.xand8.x)offersperformancegains,stricttyping,JITcompilation,andmodernsyntax,makingitsuitableforlarge-scaleapplications.2.PHPintegrateseffectivelyinhybridarchitectures,servingasanAPIgateway</p>
							</div>
													</div>

													<a href="http://ipnx.cn/be/" 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="wjcelcm34c"   class="footer">
        <div   id="wjcelcm34c"   class="footertop">
            <img src="/static/imghw/logo.png" alt="">
            <p>Public welfare online PHP training,Help PHP learners grow quickly!</p>
        </div>
        <div   id="wjcelcm34c"   class="footermid">
            <a href="http://ipnx.cn/about/us.html">About us</a>
            <a href="http://ipnx.cn/about/disclaimer.html">Disclaimer</a>
            <a href="http://ipnx.cn/update/article_0_1.html">Sitemap</a>
        </div>
        <div   id="wjcelcm34c"   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://ipnx.cn/" title="亚洲国产日韩欧美一区二区三区">亚洲国产日韩欧美一区二区三区</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="smbbp" class="pl_css_ganrao" style="display: none;"><dl id="smbbp"><noframes id="smbbp"><blockquote id="smbbp"><rt id="smbbp"></rt></blockquote></noframes></dl><input id="smbbp"><small id="smbbp"></small></input><mark id="smbbp"></mark><strike id="smbbp"><nobr id="smbbp"><font id="smbbp"><source id="smbbp"></source></font></nobr></strike><output id="smbbp"></output><small id="smbbp"><u id="smbbp"></u></small><rp id="smbbp"></rp><ul id="smbbp"></ul><tfoot id="smbbp"></tfoot><optgroup id="smbbp"><var id="smbbp"></var></optgroup><optgroup id="smbbp"><tbody id="smbbp"><output id="smbbp"></output></tbody></optgroup><tr id="smbbp"></tr><menuitem id="smbbp"></menuitem><rp id="smbbp"><font id="smbbp"><tr id="smbbp"><td id="smbbp"></td></tr></font></rp><tt id="smbbp"><option id="smbbp"><small id="smbbp"><output id="smbbp"></output></small></option></tt><ul id="smbbp"><form id="smbbp"><dl id="smbbp"><optgroup id="smbbp"></optgroup></dl></form></ul><b id="smbbp"><ins id="smbbp"><xmp id="smbbp"><pre id="smbbp"></pre></xmp></ins></b><blockquote id="smbbp"></blockquote><rp id="smbbp"><form id="smbbp"><input id="smbbp"><small id="smbbp"></small></input></form></rp><td id="smbbp"></td><object id="smbbp"></object><tr id="smbbp"><div id="smbbp"><var id="smbbp"></var></div></tr><center id="smbbp"></center><meter id="smbbp"><sup id="smbbp"><noframes id="smbbp"><blockquote id="smbbp"></blockquote></noframes></sup></meter><form id="smbbp"></form><xmp id="smbbp"></xmp><sup id="smbbp"><center id="smbbp"></center></sup><nobr id="smbbp"><acronym id="smbbp"><acronym id="smbbp"><strong id="smbbp"></strong></acronym></acronym></nobr><listing id="smbbp"><acronym id="smbbp"></acronym></listing><progress id="smbbp"></progress><nav id="smbbp"></nav><xmp id="smbbp"></xmp><pre id="smbbp"></pre><dl id="smbbp"></dl><source id="smbbp"><optgroup id="smbbp"><del id="smbbp"><legend id="smbbp"></legend></del></optgroup></source><delect id="smbbp"><thead id="smbbp"><listing id="smbbp"></listing></thead></delect><thead id="smbbp"></thead><center id="smbbp"></center><em id="smbbp"></em><font id="smbbp"><source id="smbbp"><optgroup id="smbbp"><menuitem id="smbbp"></menuitem></optgroup></source></font><acronym id="smbbp"></acronym><acronym id="smbbp"><nav id="smbbp"><tt id="smbbp"><thead id="smbbp"></thead></tt></nav></acronym><pre id="smbbp"><nav id="smbbp"><tt id="smbbp"><center id="smbbp"></center></tt></nav></pre><th id="smbbp"></th><menuitem id="smbbp"></menuitem><dl id="smbbp"></dl><thead id="smbbp"></thead><thead id="smbbp"></thead><tt id="smbbp"></tt><sup id="smbbp"></sup><div id="smbbp"></div><form id="smbbp"><mark id="smbbp"></mark></form><samp id="smbbp"><strike id="smbbp"></strike></samp><var id="smbbp"><rp id="smbbp"><form id="smbbp"><input id="smbbp"></input></form></rp></var><i id="smbbp"><tr id="smbbp"><tr id="smbbp"><var id="smbbp"></var></tr></tr></i><rt id="smbbp"><form id="smbbp"></form></rt><var id="smbbp"><button id="smbbp"><center id="smbbp"></center></button></var><center id="smbbp"><pre id="smbbp"><output id="smbbp"></output></pre></center><s id="smbbp"></s><delect id="smbbp"><p id="smbbp"></p></delect><td id="smbbp"></td><small id="smbbp"></small><mark id="smbbp"><dl id="smbbp"></dl></mark><sup id="smbbp"><u id="smbbp"></u></sup><pre id="smbbp"><ruby id="smbbp"></ruby></pre><mark id="smbbp"><dl id="smbbp"><noframes id="smbbp"></noframes></dl></mark><dfn id="smbbp"></dfn><nobr id="smbbp"></nobr><abbr id="smbbp"><meter id="smbbp"></meter></abbr><div id="smbbp"><cite id="smbbp"><rp id="smbbp"><form id="smbbp"></form></rp></cite></div><i id="smbbp"><video id="smbbp"><tr id="smbbp"><var id="smbbp"></var></tr></video></i><s id="smbbp"><form id="smbbp"><samp id="smbbp"><legend id="smbbp"></legend></samp></form></s><acronym id="smbbp"><abbr id="smbbp"></abbr></acronym><button id="smbbp"><center id="smbbp"><pre id="smbbp"><output id="smbbp"></output></pre></center></button><sub id="smbbp"></sub><center id="smbbp"><code id="smbbp"><rp id="smbbp"></rp></code></center><pre id="smbbp"><label id="smbbp"><ul id="smbbp"><big id="smbbp"></big></ul></label></pre><input id="smbbp"></input><dl id="smbbp"></dl><legend id="smbbp"><dfn id="smbbp"></dfn></legend><style id="smbbp"></style><wbr id="smbbp"><listing id="smbbp"><sup id="smbbp"><pre id="smbbp"></pre></sup></listing></wbr><fieldset id="smbbp"><abbr id="smbbp"><thead id="smbbp"><source id="smbbp"></source></thead></abbr></fieldset><ins id="smbbp"><th id="smbbp"><abbr id="smbbp"><thead id="smbbp"></thead></abbr></th></ins><sup id="smbbp"></sup><xmp id="smbbp"><style id="smbbp"></style></xmp><em id="smbbp"><xmp id="smbbp"><style id="smbbp"></style></xmp></em><menu id="smbbp"><small id="smbbp"><dd id="smbbp"></dd></small></menu><tbody id="smbbp"></tbody><del id="smbbp"></del><input id="smbbp"><small id="smbbp"></small></input><progress id="smbbp"><label id="smbbp"><em id="smbbp"><address id="smbbp"></address></em></label></progress><code id="smbbp"><video id="smbbp"><tr id="smbbp"><var id="smbbp"></var></tr></video></code><small id="smbbp"><dd id="smbbp"></dd></small><button id="smbbp"><span id="smbbp"></span></button><track id="smbbp"></track><thead id="smbbp"><dl id="smbbp"><optgroup id="smbbp"></optgroup></dl></thead><code id="smbbp"></code><strike id="smbbp"></strike><dl id="smbbp"><em id="smbbp"></em></dl><b id="smbbp"></b><th id="smbbp"><sub id="smbbp"><i id="smbbp"><tr id="smbbp"></tr></i></sub></th><sub id="smbbp"></sub><samp id="smbbp"><thead id="smbbp"><tbody id="smbbp"></tbody></thead></samp><i id="smbbp"><tr id="smbbp"></tr></i><small id="smbbp"></small><blockquote id="smbbp"></blockquote><menuitem id="smbbp"></menuitem><pre id="smbbp"><legend id="smbbp"><small id="smbbp"><mark id="smbbp"></mark></small></legend></pre><th id="smbbp"></th><form id="smbbp"><delect id="smbbp"><thead id="smbbp"><listing id="smbbp"></listing></thead></delect></form><optgroup id="smbbp"><del id="smbbp"><strike id="smbbp"><nobr id="smbbp"></nobr></strike></del></optgroup><ul id="smbbp"><thead id="smbbp"><listing id="smbbp"><acronym id="smbbp"></acronym></listing></thead></ul><pre id="smbbp"><del id="smbbp"></del></pre><div id="smbbp"></div><sub id="smbbp"></sub><th id="smbbp"></th><blockquote id="smbbp"><fieldset id="smbbp"></fieldset></blockquote><rp id="smbbp"><pre id="smbbp"><label id="smbbp"><dfn id="smbbp"></dfn></label></pre></rp><menuitem id="smbbp"></menuitem><style id="smbbp"></style><ol id="smbbp"><abbr id="smbbp"><samp id="smbbp"><source id="smbbp"></source></samp></abbr></ol><fieldset id="smbbp"><th id="smbbp"></th></fieldset><kbd id="smbbp"><acronym id="smbbp"><optgroup id="smbbp"><em id="smbbp"></em></optgroup></acronym></kbd><dl id="smbbp"></dl><div id="smbbp"></div><strike id="smbbp"><var id="smbbp"><acronym id="smbbp"></acronym></var></strike><em id="smbbp"></em><optgroup id="smbbp"></optgroup><label id="smbbp"></label><big id="smbbp"></big><u id="smbbp"><blockquote id="smbbp"><i id="smbbp"><video id="smbbp"></video></i></blockquote></u><thead id="smbbp"><source id="smbbp"><optgroup id="smbbp"><menuitem id="smbbp"></menuitem></optgroup></source></thead><abbr id="smbbp"><tt id="smbbp"><source id="smbbp"></source></tt></abbr><font id="smbbp"></font><tbody id="smbbp"></tbody><var id="smbbp"></var><legend id="smbbp"></legend><i id="smbbp"></i><video id="smbbp"><address id="smbbp"></address></video><code id="smbbp"><video id="smbbp"><tr id="smbbp"><var id="smbbp"></var></tr></video></code><optgroup id="smbbp"><em id="smbbp"></em></optgroup><meter id="smbbp"><cite id="smbbp"></cite></meter><ol id="smbbp"><form id="smbbp"></form></ol><th id="smbbp"></th><meter id="smbbp"></meter><thead id="smbbp"><tbody id="smbbp"></tbody></thead><dl id="smbbp"><noframes id="smbbp"><blockquote id="smbbp"><p id="smbbp"></p></blockquote></noframes></dl></div>

</html>