<abbr id="540jw"></abbr>
    <em id="540jw"><tt id="540jw"></tt></em>

      <nobr id="540jw"><listing id="540jw"><strong id="540jw"></strong></listing></nobr>
      \n    \n        \n        \n    <\/form>\n<\/body>\n<\/html>\n $value) {\n            echo $key.'=>'.$value.'
      ';\n        }\n    }\n?><\/pre><\/p>After running the program, select the file to upload according to the form. I take test1.txt as an example, and the output result is:

      <\/p>

      \"How<\/p>According to the saved information, we can get the relevant information of the file:

      <\/p>The file name is test1.txt; the type of the uploaded file is text\/plain; the temporary file name of the uploaded file is saved. The name is C:\\Windows\\phpD16F.tmp; 0 means the file was uploaded successfully; the file size is 5.

      <\/p>

      Single file upload<\/span><\/strong><\/p>Through the above code, we have got the basic information of the file to be uploaded. Next we need to use

      move_uploaded_file() Function to implement uploading. Its main function is to move the file just uploaded to a new location. Its syntax format is as follows: <\/code>

      move_uploaded_file(string $filename, string $destination)<\/pre><\/p>where 

      $filenameb represents the file name of the uploaded file. This file name is not the original file name of the uploaded file, but is passed through $_FILES in the previous step. The file name obtained by tmp_name; <\/code>$destinationb indicates the location to which the uploaded file is to be moved. <\/code><\/p>The execution function will return TRUE if it is executed successfully, and FALSE if it fails.

      <\/p>Next let’s take a look at the example:

      <\/p>Upload the test1.txt file just now to a folder named phptest that I created in the root directory. The operation is as follows:

      \n\n\n    \n    PHP文件上傳<\/title>\n<\/head>\n<body>
      <h1><a href="http://www.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</a></h1>\n    <form action=\"\" method=\"post\" enctype=\"multipart\/form-data\">\n        <input type=\"file\" name=\"upfile\">\n        <input type=\"submit\" value=\"上傳\">\n    <\/form>\n<\/body>\n<\/html>\n<?php\n    if(!empty($_FILES)){\n        $tmpname   = $_FILES['upfile']['tmp_name'];     \/\/ 臨時(shí)文件名稱\n        $name      = $_FILES['upfile']['name'];         \/\/ 文件的原名稱\n        $path      = '.\/phptest';                       \/\/ 上傳目錄\n        $file_name = date('YmdHis').rand(100,999).$name;\/\/ 避免文件重名,更改文件名稱\n        if(move_uploaded_file($tmpname, $path.'\/'.$file_name)){\n            echo $name.\" 上傳成功!\";\n        }else{\n            echo $name.\" 上傳失??!\";\n        }\n    }\n?><\/pre><\/p>After uploading the file according to the form, the output result is as follows: <p><\/p><p><img src=\"https:\/\/img.php.cn\/upload\/image\/643\/409\/901\/1634616240416577.png\" title=\"1634616240416577.png\" alt=\"How to upload files in PHP? Youll understand after reading it!\"\/><p>如此則表示我想要上傳的test2.txt已經(jīng)上傳到我需要的目錄中了:<\/p><p><img src=\"https:\/\/img.php.cn\/upload\/image\/680\/153\/915\/1634616339371246.png\" title=\"1634616339371246.png\" alt=\"How to upload files in PHP? Youll understand after reading it!\"\/><\/p><p><strong><span   style=\"max-width:90%\">多文件上傳<\/span><\/strong><\/p><p>通過上述示例已經(jīng)了解了單文件上傳的過程,但是在日常使用中經(jīng)常會(huì)用到的是多文件上傳,那多文件上傳應(yīng)該怎么操作呢?<\/p><p>示例如下:<\/p><p>還和上面的示例一樣,上傳多個(gè)文件到我在根目錄里創(chuàng)建的phptest文件夾里<\/p><pre class='brush:php;toolbar:false;'><!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>PHP文件上傳<\/title>\n<\/head>\n<body>\n    <form action=\"\" method=\"post\" enctype=\"multipart\/form-data\">\n        <input type=\"file\" name=\"upfile[]\"><br>\n        <input type=\"file\" name=\"upfile[]\"><br>\n        <input type=\"file\" name=\"upfile[]\"><br>\n        <input type=\"submit\" value=\"上傳\">\n    <\/form>\n<\/body>\n<\/html>\n<?php\n    if(!empty($_FILES)){\n        $tmpname = $_FILES['upfile']['tmp_name'];\n        $name = $_FILES['upfile']['name'];\n        $path = '.\/phptest';\n        for ($i=0; $i < count($tmpname); $i++) {\n            $file_name = date('YmdHis').rand(100,999).$name[$i];\n            if(move_uploaded_file($tmpname[$i], $path.'\/'.$file_name)){\n                echo $name[$i].' 上傳成功!<br>';\n            }else{\n                echo $name[$i].' 上傳失?。?br>';\n            }\n        }\n    }\n?><\/pre><p>輸出結(jié)果:<\/p>\n<p><img src=\"https:\/\/img.php.cn\/upload\/image\/211\/915\/825\/1634621958967878.png\" title=\"1634621958967878.png\" alt=\"How to upload files in PHP? Youll understand after reading it!\"><\/p>\n<p>如此結(jié)果顯示,多個(gè)文件已經(jīng)上傳到我的文件夾里了:<br><\/p>\n<p><img src=\"https:\/\/img.php.cn\/upload\/image\/236\/195\/544\/1634622047986095.png\" title=\"1634622047986095.png\" alt=\"How to upload files in PHP? Youll understand after reading it!\"><\/p>\n<p>推薦學(xué)習(xí):《<a href=\"https:\/\/www.miracleart.cn\/course\/list\/29\/type\/2.html\" target=\"_blank\">PHP視頻教程<\/a>》<\/p>"}	</script>
      	
      <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/be/"
      							class="phpgenera_Details_mainL1a">Backend Development</a>
      						<img src="/static/imghw/top_right.png" alt="" />
      												<a href="http://www.miracleart.cn/php-ask.html"
      							class="phpgenera_Details_mainL1a">PHP Problem</a>
      						<img src="/static/imghw/top_right.png" alt="" />
      						<span>How to upload files in PHP? You'll understand after reading it!</span>
      					</div>
      					
      					<div   id="377j5v51b"   class="Articlelist_txts">
      						<div   id="377j5v51b"   class="Articlelist_txts_info">
      							<h1 class="Articlelist_txts_title">How to upload files in PHP? You'll understand after reading it!</h1>
      							<div   id="377j5v51b"   class="Articlelist_txts_info_head">
      								<div   id="377j5v51b"   class="author_info">
      									<a href="http://www.miracleart.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="377j5v51b"   class="author_detail">
      																			<a href="http://www.miracleart.cn/member/887227.html" class="author_name">WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB</a>
                                      										</div>
      								</div>
                      			</div>
      							<span id="377j5v51b"    class="Articlelist_txts_time">Oct 19, 2021 pm	 01:48 PM</span>
      															<div   id="377j5v51b"   class="Articlelist_txts_infos">
      																			<span id="377j5v51b"    class="Articlelist_txts_infoss on">php</span>
      																			<span id="377j5v51b"    class="Articlelist_txts_infoss ">document</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>In the previous article, I brought you "<a href="http://www.miracleart.cn/php-ask-483168.html" target="_blank">How to obtain and detect file attributes in PHP? (Summary Sharing) </a>", which gives you a detailed introduction to the knowledge of file attributes in PHP. In this article, let's take a look at how we should upload files in PHP. I hope everyone has to help! </p>
      <p><img  src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/067/616e341a01a5a479.jpg" class="lazy" alt="How to upload files in PHP? You'll understand after reading it!" ></p>
      <p>In our daily life, we often encounter the steps of uploading files such as uploading pictures to a circle of friends, sending attached files to emails, etc. In our PHP code , what should I do if I want to upload files? File upload is one of the very important functions in the PHP file system, so let's take a look at how to implement such a function. <br></p>
      <p><strong><span style="font-size: 20px;">Configuration<code>php.ini</code></span></strong></p>
      <p>To use the file upload function, first we need to configure php .ini, set the parameters in it appropriately. Let's first take a look at how to find the php.ini file. The example is as follows: </p>
      <p>First we input: <br></p><pre class='brush:php;toolbar:false;'><?php
      phpinfo();
      ?></pre><p>Output result:<br/></p><p><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/image/135/828/534/1634613133370853.png"  class="lazy" title="1634613133370853.png" alt="How to upload files in PHP? Youll understand after reading it!"/></p><p>From the above results, in You can see the specific path of php.ini in the Loaded Configuration File column. This led to the php.ini file being found. </p><p>There are too many files in php.ini. You can use ctrl F to search for related configuration items. Then the parameters we need to configure are as follows: </p><ul   style="max-width:90%"><li><p><code>file_uploads</code>: on means that the server has enabled the file upload function; if it is off, it means that the server has turned off the file upload function. . </p></li><li><p><code>upload_tmp_dir</code>: Temporary directory for uploading files. Before the file is successfully uploaded, the file will first be stored in the temporary directory on the server side. If it is not set, it will be the system default directory. </p></li><li><p><code>upload_max_filesize</code>: The maximum size of files allowed to be uploaded by the server, in MB. </p></li><li><p><code>max_execution_time</code>: The maximum time that a command can be executed in PHP, in seconds. </p></li><li><p><code>memory_limit</code>: The memory space allocated by a command in PHP, the unit is MB. </p></li></ul><p>What we need to pay attention to is: after the configuration is completed, if you want the configuration to take effect, you need to restart the Apache server for the configured parameters to take effect. </p><p><strong><span style="font-size: 20px;">Predefined variable $_FILES</span></strong></p><p>After we configure php.ini, we need to use the predefined variable $_FILES to upload The document makes some restrictions and judgments. The $_FILES variable stores information related to the uploaded file. The information that needs to be saved is as follows: </p><ul style="list-style-type: disc;"><li><p><code>$_FILES[filename][name]</code>: Save the uploaded file File name </p></li><li><p><code>$_FILES[filename][size] </code>: Save the size of the uploaded file </p></li><li><p><code>$ _FILES[filename][tmp_name] </code>: Save the temporary name of the uploaded file </p></li><li><p>##$_FILES[filename][type] <code>: Save the type of the uploaded file </code></p></li><li><p>$_FILES[filename][error] <code>: Save the code name of the uploaded file result, 0 means success</code></p></li></ul>us You can use the predefined variable $_FILES combined with HTML to create an example as follows: <p><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
      <html lang="en">
      <head>
          <meta charset="UTF-8">
          <title>PHP文件上傳</title>
      </head>
      <body>
          <form action="" method="post" enctype="multipart/form-data">
              <input type="file" name="upfile">
              <input type="submit" value="上傳">
          </form>
      </body>
      </html>
      <?php
          if(!empty($_FILES)){
              foreach ($_FILES[&#39;upfile&#39;] as $key => $value) {
                  echo $key.&#39;=>&#39;.$value.&#39;<br>&#39;;
              }
          }
      ?></pre></p>After running the program, select the file to upload according to the form. I take test1.txt as an example, and the output result is: <p></p> <p><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/image/893/580/347/1634615091441017.png"  class="lazy" title="1634615091441017.png" alt="How to upload files in PHP? Youll understand after reading it!"/></p>According to the saved information, we can get the relevant information of the file: <p></p>The file name is test1.txt; the type of the uploaded file is text/plain; the temporary file name of the uploaded file is saved. The name is C:\Windows\phpD16F.tmp; 0 means the file was uploaded successfully; the file size is 5. <p></p><p><strong>Single file upload<span   style="max-width:90%"></span></strong></p>Through the above code, we have got the basic information of the file to be uploaded. Next we need to use <p>move_uploaded_file() <code>Function to implement uploading. Its main function is to move the file just uploaded to a new location. Its syntax format is as follows: </code><pre class='brush:php;toolbar:false;'>move_uploaded_file(string $filename, string $destination)</pre></p>where <p>$filenameb<code> represents the file name of the uploaded file. This file name is not the original file name of the uploaded file, but is passed through $_FILES in the previous step. The file name obtained by tmp_name; </code>$destinationb<code> indicates the location to which the uploaded file is to be moved. </code><br/></p>The execution function will return TRUE if it is executed successfully, and FALSE if it fails. <p></p>Next let’s take a look at the example: <p></p>Upload the test1.txt file just now to a folder named phptest that I created in the root directory. The operation is as follows: <p> <pre class='brush:php;toolbar:false;'><!DOCTYPE html>
      <html lang="en">
      <head>
          <meta charset="UTF-8">
          <title>PHP文件上傳</title>
      </head>
      <body>
          <form action="" method="post" enctype="multipart/form-data">
              <input type="file" name="upfile">
              <input type="submit" value="上傳">
          </form>
      </body>
      </html>
      <?php
          if(!empty($_FILES)){
              $tmpname   = $_FILES[&#39;upfile&#39;][&#39;tmp_name&#39;];     // 臨時(shí)文件名稱
              $name      = $_FILES[&#39;upfile&#39;][&#39;name&#39;];         // 文件的原名稱
              $path      = &#39;./phptest&#39;;                       // 上傳目錄
              $file_name = date(&#39;YmdHis&#39;).rand(100,999).$name;// 避免文件重名,更改文件名稱
              if(move_uploaded_file($tmpname, $path.&#39;/&#39;.$file_name)){
                  echo $name." 上傳成功!";
              }else{
                  echo $name." 上傳失敗!";
              }
          }
      ?></pre></p>After uploading the file according to the form, the output result is as follows: <p></p><p><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/image/643/409/901/1634616240416577.png"  class="lazy" title="1634616240416577.png" alt="How to upload files in PHP? Youll understand after reading it!"/><p>如此則表示我想要上傳的test2.txt已經(jīng)上傳到我需要的目錄中了:</p><p><img src="/static/imghw/default1.png"  data-src="https://img.php.cn/upload/image/680/153/915/1634616339371246.png"  class="lazy" title="1634616339371246.png" alt="How to upload files in PHP? Youll understand after reading it!"/></p><p><strong><span   style="max-width:90%">多文件上傳</span></strong></p><p>通過上述示例已經(jīng)了解了單文件上傳的過程,但是在日常使用中經(jīng)常會(huì)用到的是多文件上傳,那多文件上傳應(yīng)該怎么操作呢?</p><p>示例如下:</p><p>還和上面的示例一樣,上傳多個(gè)文件到我在根目錄里創(chuàng)建的phptest文件夾里</p><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
      <html lang="en">
      <head>
          <meta charset="UTF-8">
          <title>PHP文件上傳</title>
      </head>
      <body>
          <form action="" method="post" enctype="multipart/form-data">
              <input type="file" name="upfile[]"><br>
              <input type="file" name="upfile[]"><br>
              <input type="file" name="upfile[]"><br>
              <input type="submit" value="上傳">
          </form>
      </body>
      </html>
      <?php
          if(!empty($_FILES)){
              $tmpname = $_FILES[&#39;upfile&#39;][&#39;tmp_name&#39;];
              $name = $_FILES[&#39;upfile&#39;][&#39;name&#39;];
              $path = &#39;./phptest&#39;;
              for ($i=0; $i < count($tmpname); $i++) {
                  $file_name = date(&#39;YmdHis&#39;).rand(100,999).$name[$i];
                  if(move_uploaded_file($tmpname[$i], $path.&#39;/&#39;.$file_name)){
                      echo $name[$i].&#39; 上傳成功!<br>&#39;;
                  }else{
                      echo $name[$i].&#39; 上傳失敗!<br>&#39;;
                  }
              }
          }
      ?></pre><p>輸出結(jié)果:</p>
      <p><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/image/211/915/825/1634621958967878.png" class="lazy" title="1634621958967878.png" alt="How to upload files in PHP? Youll understand after reading it!"></p>
      <p>如此結(jié)果顯示,多個(gè)文件已經(jīng)上傳到我的文件夾里了:<br></p>
      <p><img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/image/236/195/544/1634622047986095.png" class="lazy" title="1634622047986095.png" alt="How to upload files in PHP? Youll understand after reading it!"></p>
      <p>推薦學(xué)習(xí):《<a href="http://www.miracleart.cn/course/list/29/type/2.html" target="_blank">PHP視頻教程</a>》</p><p>The above is the detailed content of How to upload files in PHP? You'll understand after reading it!. For more information, please follow other related articles on the PHP Chinese website!</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/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>4 weeks 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>2 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   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/1796821278.html" title="Date Everything: Dirk And Harper Relationship Guide" class="phpgenera_Details_mainR4_bottom_title">Date Everything: Dirk And Harper Relationship Guide</a>
      									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
      										<span>4 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/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>4 weeks 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>2 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   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/1796821278.html" title="Date Everything: Dirk And Harper Relationship Guide" class="phpgenera_Details_mainR4_bottom_title">Date Everything: Dirk And Harper Relationship Guide</a>
      									<div   id="377j5v51b"   class="phpgenera_Details_mainR4_bottoms_info">
      										<span>4 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>8637</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>1783</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>1727</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>1577</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>1442</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/1796836348.html" title="How to get the current session ID 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/431/639/175234695153283.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to get the current session ID in PHP?" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796836348.html" title="How to get the current session ID in PHP?" class="phphistorical_Version2_mids_title">How to get the current session ID in PHP?</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 13, 2025 am	 03:02 AM</span>
      								<p class="Articlelist_txts_p">The method to get the current session ID in PHP is to use the session_id() function, but you must call session_start() to successfully obtain it. 1. Call session_start() to start the session; 2. Use session_id() to read the session ID and output a string similar to abc123def456ghi789; 3. If the return is empty, check whether session_start() is missing, whether the user accesses for the first time, or whether the session is destroyed; 4. The session ID can be used for logging, security verification and cross-request communication, but security needs to be paid attention to. Make sure that the session is correctly enabled and the ID can be obtained successfully.</p>
      							</div>
      														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
      								<a href="http://www.miracleart.cn/faq/1796836340.html" title="PHP get substring from a string" 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/175234679154731.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="PHP get substring from a string" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796836340.html" title="PHP get substring from a string" class="phphistorical_Version2_mids_title">PHP get substring from a string</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 13, 2025 am	 02:59 AM</span>
      								<p class="Articlelist_txts_p">To extract substrings from PHP strings, you can use the substr() function, which is syntax substr(string$string,int$start,?int$length=null), and if the length is not specified, it will be intercepted to the end; when processing multi-byte characters such as Chinese, you should use the mb_substr() function to avoid garbled code; if you need to intercept the string according to a specific separator, you can use exploit() or combine strpos() and substr() to implement it, such as extracting file name extensions or domain names.</p>
      							</div>
      														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
      								<a href="http://www.miracleart.cn/faq/1796836325.html" title="How do you perform unit testing for php code?" 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/175234647176044.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How do you perform unit testing for php code?" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796836325.html" title="How do you perform unit testing for php code?" class="phphistorical_Version2_mids_title">How do you perform unit testing for php code?</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 13, 2025 am	 02:54 AM</span>
      								<p class="Articlelist_txts_p">UnittestinginPHPinvolvesverifyingindividualcodeunitslikefunctionsormethodstocatchbugsearlyandensurereliablerefactoring.1)SetupPHPUnitviaComposer,createatestdirectory,andconfigureautoloadandphpunit.xml.2)Writetestcasesfollowingthearrange-act-assertpat</p>
      							</div>
      														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
      								<a href="http://www.miracleart.cn/faq/1796836338.html" title="How to split a string into 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/431/639/175234675030817.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to split a string into an array in PHP" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796836338.html" title="How to split a string into an array in PHP" class="phphistorical_Version2_mids_title">How to split a string into an array in PHP</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 13, 2025 am	 02:59 AM</span>
      								<p class="Articlelist_txts_p">In PHP, the most common method is to split the string into an array using the exploit() function. This function divides the string into multiple parts through the specified delimiter and returns an array. The syntax is exploit(separator, string, limit), where separator is the separator, string is the original string, and limit is an optional parameter to control the maximum number of segments. For example $str="apple,banana,orange";$arr=explode(",",$str); The result is ["apple","bana</p>
      							</div>
      														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
      								<a href="http://www.miracleart.cn/faq/1796836292.html" title="JavaScript Data Types: Primitive vs Reference" 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/175234579081669.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="JavaScript Data Types: Primitive vs Reference" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796836292.html" title="JavaScript Data Types: Primitive vs Reference" class="phphistorical_Version2_mids_title">JavaScript Data Types: Primitive vs Reference</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 13, 2025 am	 02:43 AM</span>
      								<p class="Articlelist_txts_p">JavaScript data types are divided into primitive types and reference types. Primitive types include string, number, boolean, null, undefined, and symbol. The values are immutable and copies are copied when assigning values, so they do not affect each other; reference types such as objects, arrays and functions store memory addresses, and variables pointing to the same object will affect each other. Typeof and instanceof can be used to determine types, but pay attention to the historical issues of typeofnull. Understanding these two types of differences can help write more stable and reliable code.</p>
      							</div>
      														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
      								<a href="http://www.miracleart.cn/faq/1796837310.html" title="Using std::chrono in C" 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/175251423054720.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="Using std::chrono in C" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796837310.html" title="Using std::chrono in C" class="phphistorical_Version2_mids_title">Using std::chrono in C</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 15, 2025 am	 01:30 AM</span>
      								<p class="Articlelist_txts_p">std::chrono is used in C to process time, including obtaining the current time, measuring execution time, operation time point and duration, and formatting analysis time. 1. Use std::chrono::system_clock::now() to obtain the current time, which can be converted into a readable string, but the system clock may not be monotonous; 2. Use std::chrono::steady_clock to measure the execution time to ensure monotony, and convert it into milliseconds, seconds and other units through duration_cast; 3. Time point (time_point) and duration (duration) can be interoperable, but attention should be paid to unit compatibility and clock epoch (epoch)</p>
      							</div>
      														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
      								<a href="http://www.miracleart.cn/faq/1796836281.html" title="How to pass a session variable to another page 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/431/639/175234556015595.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How to pass a session variable to another page in PHP?" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796836281.html" title="How to pass a session variable to another page in PHP?" class="phphistorical_Version2_mids_title">How to pass a session variable to another page in PHP?</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 13, 2025 am	 02:39 AM</span>
      								<p class="Articlelist_txts_p">In PHP, to pass a session variable to another page, the key is to start the session correctly and use the same $_SESSION key name. 1. Before using session variables for each page, it must be called session_start() and placed in the front of the script; 2. Set session variables such as $_SESSION['username']='JohnDoe' on the first page; 3. After calling session_start() on another page, access the variables through the same key name; 4. Make sure that session_start() is called on each page, avoid outputting content in advance, and check that the session storage path on the server is writable; 5. Use ses</p>
      							</div>
      														<div   id="377j5v51b"   class="phphistorical_Version2_mids">
      								<a href="http://www.miracleart.cn/faq/1796836980.html" title="How does PHP handle Environment Variables?" 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/175243330086297.jpg?x-oss-process=image/resize,m_fill,h_207,w_330" alt="How does PHP handle Environment Variables?" />
      								</a>
      								<a href="http://www.miracleart.cn/faq/1796836980.html" title="How does PHP handle Environment Variables?" class="phphistorical_Version2_mids_title">How does PHP handle Environment Variables?</a>
      								<span id="377j5v51b"    class="Articlelist_txts_time">Jul 14, 2025 am	 03:01 AM</span>
      								<p class="Articlelist_txts_p">ToaccessenvironmentvariablesinPHP,usegetenv()orthe$_ENVsuperglobal.1.getenv('VAR_NAME')retrievesaspecificvariable.2.$_ENV['VAR_NAME']accessesvariablesifvariables_orderinphp.iniincludes"E".SetvariablesviaCLIwithVAR=valuephpscript.php,inApach</p>
      							</div>
      													</div>
      
      													<a href="http://www.miracleart.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="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="dnbtn" class="pl_css_ganrao" style="display: none;"><thead id="dnbtn"><legend id="dnbtn"><menuitem id="dnbtn"></menuitem></legend></thead><strike id="dnbtn"><wbr id="dnbtn"><td id="dnbtn"><sub id="dnbtn"></sub></td></wbr></strike><button id="dnbtn"><ruby id="dnbtn"></ruby></button><strike id="dnbtn"><strike id="dnbtn"></strike></strike><p id="dnbtn"></p><button id="dnbtn"></button><em id="dnbtn"><mark id="dnbtn"><option id="dnbtn"></option></mark></em><form id="dnbtn"><optgroup id="dnbtn"><nav id="dnbtn"><bdo id="dnbtn"></bdo></nav></optgroup></form><button id="dnbtn"><ruby id="dnbtn"></ruby></button><em id="dnbtn"><ruby id="dnbtn"><nobr id="dnbtn"></nobr></ruby></em><u id="dnbtn"></u><source id="dnbtn"></source><strike id="dnbtn"></strike><wbr id="dnbtn"></wbr><small id="dnbtn"></small><dfn id="dnbtn"><code id="dnbtn"><pre id="dnbtn"></pre></code></dfn><button id="dnbtn"><th id="dnbtn"></th></button><object id="dnbtn"></object><track id="dnbtn"></track><legend id="dnbtn"><sup id="dnbtn"></sup></legend><abbr id="dnbtn"><li id="dnbtn"><em id="dnbtn"><noframes id="dnbtn"></noframes></em></li></abbr><small id="dnbtn"></small><th id="dnbtn"><div id="dnbtn"></div></th><sup id="dnbtn"><ruby id="dnbtn"><tr id="dnbtn"><small id="dnbtn"></small></tr></ruby></sup><div id="dnbtn"><big id="dnbtn"><samp id="dnbtn"><delect id="dnbtn"></delect></samp></big></div><mark id="dnbtn"></mark><label id="dnbtn"><sup id="dnbtn"></sup></label><sub id="dnbtn"><center id="dnbtn"><output id="dnbtn"></output></center></sub><label id="dnbtn"></label><nav id="dnbtn"></nav><ruby id="dnbtn"><li id="dnbtn"><small id="dnbtn"></small></li></ruby><address id="dnbtn"></address><ul id="dnbtn"><kbd id="dnbtn"><pre id="dnbtn"></pre></kbd></ul><tr id="dnbtn"><menuitem id="dnbtn"></menuitem></tr><tr id="dnbtn"></tr><menuitem id="dnbtn"><delect id="dnbtn"></delect></menuitem><tbody id="dnbtn"><meter id="dnbtn"></meter></tbody><strong id="dnbtn"><dl id="dnbtn"><th id="dnbtn"><div id="dnbtn"></div></th></dl></strong><pre id="dnbtn"><meter id="dnbtn"><ruby id="dnbtn"></ruby></meter></pre><source id="dnbtn"></source><tt id="dnbtn"></tt><menuitem id="dnbtn"></menuitem><cite id="dnbtn"></cite><ins id="dnbtn"><output id="dnbtn"></output></ins><tr id="dnbtn"><xmp id="dnbtn"><mark id="dnbtn"></mark></xmp></tr><td id="dnbtn"><center id="dnbtn"></center></td><p id="dnbtn"></p><button id="dnbtn"><video id="dnbtn"><track id="dnbtn"><small id="dnbtn"></small></track></video></button><acronym id="dnbtn"><ins id="dnbtn"><ul id="dnbtn"></ul></ins></acronym><option id="dnbtn"><em id="dnbtn"><listing id="dnbtn"><dfn id="dnbtn"></dfn></listing></em></option><tfoot id="dnbtn"><tbody id="dnbtn"></tbody></tfoot><ul id="dnbtn"><font id="dnbtn"><dfn id="dnbtn"></dfn></font></ul><strong id="dnbtn"></strong><legend id="dnbtn"><pre id="dnbtn"><dfn id="dnbtn"></dfn></pre></legend><style id="dnbtn"></style><rp id="dnbtn"><abbr id="dnbtn"><dfn id="dnbtn"></dfn></abbr></rp><sup id="dnbtn"><p id="dnbtn"><ol id="dnbtn"></ol></p></sup><strong id="dnbtn"><p id="dnbtn"><source id="dnbtn"><progress id="dnbtn"></progress></source></p></strong><dfn id="dnbtn"><ul id="dnbtn"><kbd id="dnbtn"></kbd></ul></dfn><abbr id="dnbtn"></abbr><strong id="dnbtn"></strong><nav id="dnbtn"></nav><tt id="dnbtn"></tt><th id="dnbtn"></th><nobr id="dnbtn"><abbr id="dnbtn"><strong id="dnbtn"></strong></abbr></nobr><menu id="dnbtn"></menu><sup id="dnbtn"><i id="dnbtn"></i></sup><fieldset id="dnbtn"></fieldset><pre id="dnbtn"></pre><address id="dnbtn"></address><source id="dnbtn"><pre id="dnbtn"><span id="dnbtn"><pre id="dnbtn"></pre></span></pre></source><sup id="dnbtn"><dl id="dnbtn"></dl></sup><dfn id="dnbtn"><var id="dnbtn"><strong id="dnbtn"><object id="dnbtn"></object></strong></var></dfn><nav id="dnbtn"></nav><source id="dnbtn"><pre id="dnbtn"><strike id="dnbtn"></strike></pre></source><nobr id="dnbtn"></nobr><var id="dnbtn"></var><var id="dnbtn"><thead id="dnbtn"><track id="dnbtn"><ol id="dnbtn"></ol></track></thead></var><optgroup id="dnbtn"><div id="dnbtn"><label id="dnbtn"><i id="dnbtn"></i></label></div></optgroup><address id="dnbtn"></address><thead id="dnbtn"><video id="dnbtn"><acronym id="dnbtn"><th id="dnbtn"></th></acronym></video></thead><ol id="dnbtn"><video id="dnbtn"><ol id="dnbtn"><mark id="dnbtn"></mark></ol></video></ol><ruby id="dnbtn"><label id="dnbtn"><em id="dnbtn"><style id="dnbtn"></style></em></label></ruby><strong id="dnbtn"><progress id="dnbtn"><menuitem id="dnbtn"><var id="dnbtn"></var></menuitem></progress></strong><em id="dnbtn"><style id="dnbtn"></style></em><nobr id="dnbtn"><pre id="dnbtn"></pre></nobr><span id="dnbtn"><address id="dnbtn"><track id="dnbtn"><dl id="dnbtn"></dl></track></address></span><dfn id="dnbtn"><label id="dnbtn"><progress id="dnbtn"><th id="dnbtn"></th></progress></label></dfn><i id="dnbtn"><address id="dnbtn"></address></i><p id="dnbtn"><div id="dnbtn"><b id="dnbtn"><legend id="dnbtn"></legend></b></div></p><em id="dnbtn"><style id="dnbtn"></style></em><label id="dnbtn"><legend id="dnbtn"><output id="dnbtn"><form id="dnbtn"></form></output></legend></label><address id="dnbtn"><ruby id="dnbtn"></ruby></address><optgroup id="dnbtn"></optgroup><em id="dnbtn"><style id="dnbtn"><form id="dnbtn"><dfn id="dnbtn"></dfn></form></style></em><span id="dnbtn"></span><strong id="dnbtn"></strong><strong id="dnbtn"><font id="dnbtn"><tt id="dnbtn"><i id="dnbtn"></i></tt></font></strong><ins id="dnbtn"><strong id="dnbtn"><dl id="dnbtn"><small id="dnbtn"></small></dl></strong></ins></div>
      
      </html>