Hi there! im new to php , im having problem when upload image to server. Hope somebody can help me.
i upload picture in admin CMS, the pic able to save in mysql but is not save in my server, the script below :
i have check the folder/directory name all correct but the picture wont save in my server images folder & i try this script but not working as well:
i got this tutorial from :
Thank You In Advance
i upload picture in admin CMS, the pic able to save in mysql but is not save in my server, the script below :
PHP Code:
$catImage = uploadImage('fleImage', SRV_ROOT . 'images/category/');
i have check the folder/directory name all correct but the picture wont save in my server images folder & i try this script but not working as well:
PHP Code:
$target_path = "images/category/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
i got this tutorial from :
Thank You In Advance
Comment