Devam Ediyor

499237 Fix photo uploader

I am a PHP developer but am having trouble getting my multiple image upload script to work on my website. The problem is the processing code.

Please see [url removed, login to view]

The JSON response shows success, even the file name is stored in the database, however no files are seen in the filesystem. I've tried for hours to ensure the file paths are valid without success.

I've tried to view the server error logs but nothing is being logged that shows why the filenames are showing up in the database but the files themselves aren't showing up in the server. The permissions are 777 for the directories.

I've tried using $_SERVER['DOCUMENT_ROOT']."/user_images/thumbs/" and I've tried to just use "/user_images/thumbs/" or "../../user_images/thumbs/", none of which have worked. I think the problem may be elsewhere.

I am attaching the file that I have that will process the files. Maybe the best thing will be to start from scratch as I once duplicated the function three times with slight modifications in order to produce the three separate images. That was on my old website and now I am using this code in a different fashion which is probably why it's not working.

What should happen is any .jpg, .jpeg, .gif, .png up to 10mb is accepted and should have three thumbnails created from that file before being destroyed. There shouldn't be any issues with uploading transparent images. The three new maximum resolutions should be 800x600, 150x150, 50x50 and the original destroyed. The file name should be stored in the database for the userid of the person who uploaded. This shouldn't take anyone (other than me) very long.

Thanks in advance for helping!

Beceriler: Her şey Kabul, PHP, Web Güvenliği, Web Sitesi Yönetimi

Daha fazlasını görün: what is the fix, what is.json, original photo, multiple image upload in php, fix file permissions website, what is json, jpeg or png, take photo, photo name, old photo, json script, php transparent png, php web fix, php gif transparent, image thumbs, uploader image, image json, thumbs image, file uploader php, transparent website jpg, web uploader, upload json, fix php without web server, order photo, php response json

İşveren Hakkında:
( 8 değerlendirme ) waterbury, United States

Proje NO: #2245157

Seçilen:

yorkstart

I can do it

1 gün içinde 50$ USD
(67 Değerlendirme)
5.2