Important Note: IIS5 + php + mysql and PWS + php + MySQL environment please modify
Because of debugging, my machine is running PHP disk on the TMP directory, so there is no accident, there is a netizen letter said PWS environment can not run, because of this, because in Windows system, may be running PHP on the disk without the TMP directory, thereby running the directory "/tmp/~ Userfile/"Could not succeed, prompt error. You can put the entire article in the $userfiletmp= "/tmp/~userfile/~tmp.inc";
Switch
$userfiletmp = "/tmp/~tmp.inc";
Or, in the file index0.php "if ($step ==3) {" Then modify the following statement
if (!file_exists (DirName ($userfiletmp))) {
mkdir (DirName ($userfiletmp), 0700);
}
Become
if (!file_exists ("tmp")) {
mkdir ("tmp"), 0700);
}
if (!file_exists (DirName ($userfiletmp))) {
mkdir (DirName ($userfiletmp), 0700);
}
Can
http://www.bkjia.com/PHPjc/532464.html www.bkjia.com true http://www.bkjia.com/PHPjc/532464.html techarticle Important NOTE: IIS5 + php + mysql and PWS + php + MySQL environment please modify due to debugging, my machine on the disk running PHP has the TMP directory, so there is no accident, there are netizens letter said ...