Forum Moderators: coopster
/scripts is that dir.
i need to access some scripts in there with a script that is in /. i have it set up to include a file in /scripts but its still running in safe mode.
how can i get it to run the files in /scripts out of safemode?
maybe this will help, here is how i am calling the script:
if (file_exists($_FILES['image']['tmp_name']) ) {
$getID = mysql_query("select max(id) as id from Items",$db);
list($id) = mysql_fetch_row($getID);
include ("scripts/add_image.php");
}
anything i can do?
i havent had a chance to mess with this anymore, im thinking that i might just do it the less secure way (putting everything in /scripts). its more of a pain than its worth, i dont think anyone will be messing with the /scripts dir.
i generaly try to make everything as secure as possible though....