Home > Article > CMS Tutorial > 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)){
with :
if(empty($_POST['userid'])){
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!