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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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?