Home > Backend Development > PHP Tutorial > Why can't the wireless network connect to PHP to implement online song request (2)

Why can't the wireless network connect to PHP to implement online song request (2)

WBOY
Release: 2016-07-29 08:34:38
Original
1274 people have browsed it

midif2.php
$d=dir("./dir"); //Get the dir directory object
$i="0";
while($entry=$d->read()){ $ $ I = $ i+1;
IF ($ i & gt; 2) {// The purpose of being greater than 2 is to remove the current directory ".", And the ".."
$ wq [] = $ entry; //Put the directory details into the $wq array
}
}
$d->close(); ;/title>




【This article The copyright is jointly owned by the author and Aosuo.com. If you need to reprint, please indicate the author and source]

The above has introduced why the wireless network cannot be connected and how to implement online song request with PHP (Part 2), including the content of why the wireless network cannot be connected. I hope it will be helpful to friends who are interested in PHP tutorials.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template