need code to call picture upload script with parameters need code to call picture upload script with parameters
 

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

need code to call picture upload script with parameters

Started by limey, May 30, 2006, 11:59:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

limey

Hi,

I'm wanting to add images to my coppermine gallery, but without having to login to the online gallery account and choose the add image button etc.

Basically, does anybody have the code that I can use to call the upload script which adds images to an album.

I see the process as:
call login script with user name and password
call upload script with picture objects as parameters
call logout script

Please correct my assumptions if incorrect.

Tranz

You might as well allow anonymous uploads in Groups manager. Not recommended, though, unless you allow approvals.

Joachim Müller


limey

I don't want to allow anonymous uploads.

I just want to know what code to write to call the upload script function and what parameters to pass it?

Stramm

just open upload.php and have a look at the code

before set in the group manager
File upload boxes to 1   
and URI upload boxes to 0

Tranz

Oh, so you want to have the upload script with the login parameters just for yourself, and not for just anybody?