“在phpMyAdmin使用用户口令登陆”补充
由于调试时,我的机器在运行php的磁盘上有tmp目录,故没有发生意外,有网友来信说PWS环境下不能运行,原因是这样的,由于在windows系统下,可能在运行php的磁盘上没有tmp目录,从而运行时建立目录"/tmp/~userfile/"不可能成功,提示出错。你可以把全篇文章中的$userfiletmp="/tmp/~userfile/~tmp.inc";
重要注意:IIS5 + PHP + MYSQl 和 PWS + PHP + MYSQL环境请修改
改为
$userfiletmp="/tmp/~tmp.inc";
或在文件index0.php“if ($step==3) {”再下面一点修改以下语句
if (!file_exists(dirname($userfiletmp))) {
mkdir(dirname($userfiletmp), 0700);
}
成为
if (!file_exists("tmp")) {
mkdir("tmp"), 0700);
}
if (!file_exists(dirname($userfiletmp))) {
mkdir(dirname($userfiletmp), 0700);
}
即可

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version
SublimeText3 Linux latest version

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.