Category: PHP
-
Sorting OpenAPI 3 Specs by Paths
OpenAPI is a the new emerging standard in API definitions and documentations. It’s based on a Specification File structured in Json, and a few editors and viewer tools are popping up here and there. Unfortunately something that seems pretty inconsistent is the sorting of the paths in the viewer against the editor. The specifications leave…
Written by
-
PHP Proc_Open and STDIN – STDOUT – STDERR
In gCloud Storage, our Storage-as-a-Service system, we developed some years ago some chain technologies that allowed us to expand dynamically the features of the Storage subsystem allowing it to translate incoming or outgoing files. Some while ago we developed a chain that allows our users to securely store a file by ciphering it when it…
Written by
-
PHP: CURL – Upload di un file in POST, dietro proxy.
Recentemente mi sono trovato a dovere simulare il comportamendo di un browser interagendo con un web server in PHP. L’obiettivo dello script PHP che si stava facendo era quello di simulare il caricamento in POST di un documento. L’obiettivo è facilmente raggiungibile in PHP tramite le librerie CURL. Cercando su internet si trovano numerosi esempi…
Written by
