Jump to content

Image Uploader


snowbubble

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.