[Solved]: URL Upload Problem [Solved]: URL Upload Problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: URL Upload Problem

Started by Shaibani, May 22, 2008, 03:38:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shaibani

Hey guys,

I got a problem with URL/URI uploads and I contacted my host about it; this is what I got:

Hello,

It appears that your script is using the fopen function to grab these pictures, which has been disabled due to widespread abuse. Your code will need to be modified to use cURL to fetch the images uploaded via URL. There is supposedly a mod to do this, but we cannot support it as we are not the script's maintainers. You may be able to obtain further assistance from them regarding this issue. Alternatively, you can save the images you are trying to upload to your own computer and upload them via the file upload function, which is working perfectly.

____________

How do I do what he told me to do?

Thanks! :)

Joachim Müller

URI upload is a silly feature anyway. As your webhost suggested: use http uploads or (for you as admin) FTP-uploads plus batch-add.
Quote from: Shaibani on May 22, 2008, 03:38:32 PMThere is supposedly a mod to do this
Nope, sorry: no mod available. You're welcome to come up with such a mod and share it with the community if you need it badly. But (as I suggested earlier): URI upload is a silly feature in the first place - we never should have added it to the core, as it leads to two things:
1) some users think that they could save webspace with it (which is not the case, as the files get transfered to your webspace even when using URI uploads)
2) URI uploads encourage image theft. I'm not saying that this applies to your, but it certainly applies to some owners of coppermine-driven galleries

Bottom line: if your webhost has disabled fopen, it's a company that knows what their way around. Their reply shows that they know their way around as well. Be happy that your webhost is using sensitive security mechanisms/policies. Forget about URI uploads.

Shaibani

Quote from: Joachim Müller on May 23, 2008, 01:06:57 AM
URI upload is a silly feature anyway. As your webhost suggested: use http uploads or (for you as admin) FTP-uploads plus batch-add.Nope, sorry: no mod available. You're welcome to come up with such a mod and share it with the community if you need it badly. But (as I suggested earlier): URI upload is a silly feature in the first place - we never should have added it to the core, as it leads to two things:
1) some users think that they could save webspace with it (which is not the case, as the files get transfered to your webspace even when using URI uploads)
2) URI uploads encourage image theft. I'm not saying that this applies to your, but it certainly applies to some owners of coppermine-driven galleries

Bottom line: if your webhost has disabled fopen, it's a company that knows what their way around. Their reply shows that they know their way around as well. Be happy that your webhost is using sensitive security mechanisms/policies. Forget about URI uploads.


Ok, I'll use FTP/XP Publish!
Thanks for your help and time :)

Joachim Müller

Use FTP-uploads plus batch-add. It's the recommended and best method for coppermine admins.