API for Developer - free to use
GET-Methode: Replace the red strings with your own data:
https://www.pdfzorro.com/api.php?path_to_pdf=https://www.example.com/example.pdf&save_url=https://www.example.com/fetch_pdf_file.php&titel_save=ExampleService&data=user_nr_12345
POST-Methode: Replace the red strings with your own data:
<form enctype="multipart/form-data" action="https://www.pdfzorro.com/api.php?path_to_pdf=POST&save_url=https://www.example.com/fetch_pdf_file.php&titel_save=ExampleService&data=user_nr_12345" method="POST">
Choose file:
<input name="pdfzorro_upload" type="file" />
<input type="submit" value="Send File" />
</form>
path_to_pdf: URL to the PDF file you want to edit, or "POST" when use POST-Methode to open file.
save_url: Redirect URL when you click 'save' in the PDF Editor.
titel_save: Titel that is been shown at the 'save' button in the PDF Editor.
data: Some data what you need on the redirect URL, e.g. User ID or anything else.
NOTE: Do not input empty spaces, use e.g. "_" between words.
Example for your Redirect PHP-file:
PHP-file: fetch_pdf_file.php
//-----------------------------------------------
//Path to the edited PDF file, to get the file, use file_get_contents(URL);
echo $_GET[path_pdf_output];
//Data, that you have inputed before in the URL above
echo $_GET[data];
//The filename, that was inputed before save
echo $_GET[filename_save];
//URL to delete the PDF file from our server
echo base64_decode($_GET[delete_link_base64]);
//-----------------------------------------------