Guest Posted November 11, 2002 Share 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?? Link to comment Share on other sites More sharing options...
CC Posted November 11, 2002 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.