Home > CMS Tutorial > PHPCMS > Unable to upload pictures in phpcms background

Unable to upload pictures in phpcms background

王林
Release: 2020-02-08 15:04:22
Original
2664 people have browsed it

Unable to upload pictures in phpcms background

First open the file /phpcms/libs/classes/attachment.class.php

Then replace the following content:

if(empty($this->userid)){
Copy after login

with :

if(empty($_POST['userid'])){
Copy after login

Done!

Related article tutorial sharing: phpcms tutorial

The above is the detailed content of Unable to upload pictures in phpcms background. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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