Hot answers tagged php
1
There's nothing wrong with your code. I've tested this (without using $_POST) and it works a treat.
I believe all you need to do is verify the $_POST variables are populated as you expect them to be later in the code.
One other tip: watch out for
$images = ( $mug->APIVer == "1.2.2" ) ? $images['Images'] : $images;
This will apply for 1.2.2 and 1.3.0 ...
1
Your PHP syntax looks fine! Although it can be condensed a lot.
I'm assuming you are referring to smugmug.images.uploadFromURL (images_uploadFromURL in phpSmug)
You will have to log into SmugMug (through phpSmug) to:
Upload images
Create/rename/move/delete stuff
Add comments
And much more...
Which of the requests that can be used anonymously is not ...
Only top voted, non community-wiki answers of a minimum length are eligible