Announcement

#1 2011-09-15 17:47:21

Lloyd
Member
2011-09-13
21

php api examples to add images to the database

Hi,

I searched the forum and found a great php api example to get data from the database. Is there any examples on how to add data to the database, such as adding an image, using the avaiable api.

Thanks,



Lloyd

Offline

 

#2 2011-09-15 23:10:44

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13104

Re: php api examples to add images to the database

Are you looking for something like this page? [wiki] pwg.images.addSimple


Latest blog post (November 28th 2017) Server failures in october and november 2017

Offline

 

#3 2011-09-15 23:16:47

Lloyd
Member
2011-09-13
21

Re: php api examples to add images to the database

Yes, I was able to find this page, but it only shows an example using perl, and I was looking for an example for php.

Does this exist.


Lloyd

Offline

 

#4 2011-09-15 23:34:00

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13104

Re: php api examples to add images to the database

I don't think I ever tried to use pwg.images.addSimple from PHP, but I would start by reading this tutorial http://www.html-form-guide.com/php-form … ubmit.html on how to submit form-data forms from PHP.


Latest blog post (November 28th 2017) Server failures in october and november 2017

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact