Guest Posted November 11, 2002 Posted November 11, 2002 When I try to upload an image I receive an error in the script. Line 13 and line 22 of the categories.php file as it states. How can I alter the code to bypass an upload and put in the url or how can I fix this??
CC Posted November 11, 2002 Posted November 11, 2002 Try changing this code: copy($categories_image, $image_location); to this code move_uploaded_file($categories_image, $image_location); And also this code: copy($products_image, $image_location); To this code: move_uploaded_file($products_image, $image_location); Make sure you back up, cos if it doesnt work you will have to put the originals back and start again. And next time please post the ENTIRE error you get on screen. This helps a lot more. HTH CC.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.