snowbubble Posted June 4, 2008 Share Posted June 4, 2008 I'm having a problem with my image uploader. When I try to save an image it will try to save as "upload.php" I have a feeling it has something to do with the file permissions, but I'm not sure because the upload.php file permission is set at 644. So it's probably not saving the actual upload.php but somehow that is the default filename when trying to save the images. Link to comment https://forums.phpfreaks.com/topic/108753-image-uploader/ Share on other sites More sharing options...
discomatt Posted June 4, 2008 Share Posted June 4, 2008 It sounds like you're using a cookie-cutter script, as modifying the output file name is very simple if you know what your code is doing. Understand your code first, and then ask for help. Here's some good reading on PHP and handling file uploads http://php.net/manual/en/features.file-upload.php Link to comment https://forums.phpfreaks.com/topic/108753-image-uploader/#findComment-557765 Share on other sites More sharing options...
snowbubble Posted June 4, 2008 Author Share Posted June 4, 2008 Thank you for such a quick reply. I don't think I'll be able to figure it out then because I chanced upon the install and there isn't support for it and I don't know php. Link to comment https://forums.phpfreaks.com/topic/108753-image-uploader/#findComment-557827 Share on other sites More sharing options...
discomatt Posted June 4, 2008 Share Posted June 4, 2008 Check the freelancing forum. If it's just minor modifications I'm sure you could get it done cheap. But here's a hint... maybe you can get it on your own... Look for these functions in your script: http://php.net/manual/en/function.move-uploaded-file.php or http://php.net/manual/en/function.copy.php Link to comment https://forums.phpfreaks.com/topic/108753-image-uploader/#findComment-557942 Share on other sites More sharing options...
snowbubble Posted June 4, 2008 Author Share Posted June 4, 2008 Oh okay I'll check out those links. Thank you very much for the help. Link to comment https://forums.phpfreaks.com/topic/108753-image-uploader/#findComment-557952 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.