Possible Duplicate:
escapeshellarg() has been disabled for security reasons
I’ve created an image upload system with PHP and it all works but I still get a warning:
A PHP Error was encountered
Severity: Warning
Message: escapeshellarg() has been disabled for security reasons
Filename: libraries/Upload.php
Line Number: 1066
Does anyone know how to get rid of this without contacting Hosting provider?
Try replacing
escapeshellargwith@escapeshellarg.Because, then you’d be suppressing any warning that function call gives.
Since
Doing that shouldn’t be a problem to your working code.Note: using
@to suppress warnings or errors is not recommended.