"Login with user password in phpmyadmin" Supplement _php tutorial

Source: Internet
Author: User
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 ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.