1
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 uploader.php some error, get_magic_quotes_gpc() returns undefined
  • 2021/12/3 14:27

  • cadch

  • Just popping in

  • Posts: 48

  • Since: 2007/12/17


FILE:
Quote:
\htdocs\class\uploader.php

LINE:234
$this->mediaName = @get_magic_quotes_gpc() ? stripslashes($_FILES[$media_name]['name'][$index]) : $_FILES[$media_name]['name'][$index];

CHANGE TO:
$this->mediaName $_FILES[$media_name]['name'][$index];



LINE:249
$this->mediaName = @get_magic_quotes_gpc() ? stripslashes($media_name['name']) : $media_name['name'];

CHANGE TO:
$this->mediaName $media_name['name'];

Login

Who's Online

223 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits