I feel like I'm missing something here, but on Google App Engine using PHP 5.5 in the standard environment I can create upload URLs very easily for my users to upload files to without wasting time in PHP, like so:
<?php
use google/appengine/api/cloud_storage/CloudStorageTools;
?><form action="<?php echo CloudStorageTools::createUploadUrl('my/upload/handler.php'); ?>" method="post">
<input type="file" name="file" />
<input type="submit" value="Upload" />
</form>
Enormously simplified of course (as that URL would only last 60 seconds).
However this API doesn't appear to be available to app engines running PHP 7.2, which I really need to use, and I can't seem to find an alternate API for obtaining upload URLs; have these really been discontinued?
There were other really useful features like getImageURL() for getting thumbnails and such as well. Of course a lot of the documentation still points to the above method for handling user uploads to an app engine site!
So how do I create and utilise upload URLs in the newer API?