'Login using user password in phpMyAdmin' supplement_PHP tutorial

WBOY
Release: 2016-07-13 17:21:20
Original
961 people have browsed it


Important note: Please modify the IIS5 + PHP + MYSQl and PWS + PHP + MYSQL environments

During debugging, my machine had a tmp directory on the disk where php was running, so no accidents occurred. Some netizens wrote that it cannot run in the PWS environment. The reason is this, because under the windows system, php may be running. There is no tmp directory on the disk, so it is impossible to successfully create the directory "/tmp/~userfile/" during runtime, and an error message is displayed. You can change $userfiletmp="/tmp/~userfile/~tmp.inc";
in the entire article to
$userfiletmp="/tmp/~tmp.inc";
or in File index0.php "if ($step==3) {" Modify the following statement a little further
if (!file_exists(dirname($userfiletmp))) {
mkdir(dirname($userfiletmp), 0700) ;
}
becomes
if (!file_exists("tmp")) {
mkdir("tmp"), 0700);
}
if (!file_exists(dirname( $userfiletmp))) {
mkdir(dirname($userfiletmp), 0700);
}
That’s it




www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532464.htmlTechArticleImportant note: IIS5 + PHP + MYSQl and PWS + PHP + MYSQL environment please modify my machine due to debugging There is a tmp directory on the disk where php is running, so no accident occurred. Some netizens wrote to say...
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!