pttdt
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by pttdt
-
-
Thats great a solution!!!
Where do I put this?
$temp_name = $_FILES['Filedata']['tmp_name'];
$file_name = basename($_FILES['Filedata']['name']);
$file_name = str_replace("\\","",$file_name);
$file_name = str_replace("'","",$file_name);
$file_path = $upload_dir.$file_name;
$result = move_uploaded_file($temp_name, $file_path);
}else{
if(!backUpFiles(file_get_contents('../events.xml'), '.')){
echo BACKUP_ERROR ;
exit;
}
$filename = '../events.xml';
-
My php experience is limited. I purchased an event calendar and the developers are having problems with this bug. I am taking it upon myself to try to find an answer because this is critical to my website.
I wish I could be more helpful and I APPRECIATE any help!!!
-
I am looking for the code|script to put on my update.php that allows uploaded images to be saved in my database (chmod) 777?
PLEASE HELP!
Code|Script to save images (chmod) to 777
in PHP Coding Help
Posted
Unfortunately this didn't work!
Image was saved as 411.