my've got problem like this

A PHP Error was encountered

Severity: Warning

Message: escapeshellarg has been disabled for security reasons

Filename: libraries/Upload.php

Line Number: 1066

I've tried looking for solutions and one of them by adding @ the library upload.php on a tag escapeshellarg @ escapeshellarg, problem solved but the problem so that the two images are not uploaded to a file folder, for my masters please help. thank you

Recommended Answers

All 2 Replies

As a quick hack you could try amending

if (DIRECTORY_SEPARATOR !== '\\')

on line 1064 to

if (DIRECTORY_SEPARATOR !== '\\***')

to see if the fallback function on 1118 works

thanks paulkd that problem is fix, just add @ at escapeshellarg(), and my problem because im not set file permission in my upload folder, now its fixed, thanks for your attention

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.