-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib.example.php
20 lines (16 loc) · 9.55 KB
/
lib.example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
include_once "lib.php";
const PDFCONTENT = "JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0ZpbHRlci9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nDPQM1Qo5ypUMABCU0tTPSMFCxNDPQuFolSucC2FPKiMgUJROpdTCJepGVDK3NxMz1whJEVB381QwdBAISTNxsDQwMjA2MDQLiSLyzWEK5ArUAEARrkS0QplbmRzdHJlYW0KZW5kb2JqCgozIDAgb2JqCjg5CmVuZG9iagoKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aDEgODI0MD4+CnN0cmVhbQp4nOU3bXQT15X3zUjyJ5aEP3AsYJ4Z7JjalvwBSaAGD7YlDDZY/lAiQQIaS7KlxJZUaYwDbRcnJQkREGihSdvkLGnTT5qUMSSLSb2EXf5sziZpTrt7untKFzabdrcnCe6mTbc929h739PYMSThx579tyO/9+73ve/e+55ntNRYBAphAkRQQqNqsoSYBAB4DYAsDe3V6FDc1IzwNQDhR0PJ4dFvnL/39wCm4wA5Lw6P7Bva2/T5xwEKO5CvRCNq+JGhgkaAooNo444oEp7+8LQF8WnEV0dHtQdNQpMJcbQH+SOJkHoNDhLE32X4qPpg8n6TS0T8j4jTuDoaUXvGGgCs5QAF+5KJtDYA1bMAFScZP5mKJK+f/CCI+IsA5v1II/hjTyGCFoYLIvy/fsyvmV+DL5rdUApBPt/wmDZACYwDzLH84zy3JwvP3jN7z/9lFLnZ5UX4azgNz8LfIfSIwToEfwHfgUs3iL8Cr8IP4QhMw9NwFNZ+qtkLaOcLHDoJez7dO/k+JOBB+Db6/RLa+zHsJhkiQhA0eAim0LfXNGm6PNsN75CzcJnkwedJrfAkxvAk/ML8T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MDY2MDA2NjAwNjkwMDYzMDA2NTAwMjAwMDM1MDAyRTAwMzQ+Ci9DcmVhdGlvbkRhdGUoRDoyMDE5MDgxNDE0MjExNVonKT4+CmVuZG9iagoKeHJlZgowIDE0CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwNTkxMiAwMDAwMCBuIAowMDAwMDAwMDE5IDAwMDAwIG4gCjAwMDAwMDAxNzkgMDAwMDAgbiAKMDAwMDAwNjA4MSAwMDAwMCBuIAowMDAwMDAwMTk4IDAwMDAwIG4gCjAwMDAwMDUxMzcgMDAwMDAgbiAKMDAwMDAwNTE1OCAwMDAwMCBuIAowMDAwMDA1MzUxIDAwMDAwIG4gCjAwMDAwMDU2NTUgMDAwMDAgbiAKMDAwMDAwNTgyNSAwMDAwMCBuIAowMDAwMDA1ODU3IDAwMDAwIG4gCjAwMDAwMDYxODAgMDAwMDAgbiAKMDAwMDAwNjI3NyAwMDAwMCBuIAp0cmFpbGVyCjw8L1NpemUgMTQvUm9vdCAxMiAwIFIKL0luZm8gMTMgMCBSCi9JRCBbIDxFNUExRDEwOTc3QTNBQTNBOUNDNEYwQTE4RDQzQjc3Rj4KPEU1QTFEMTA5NzdBM0FBM0E5Q0M0RjBBMThENDNCNzdGPiBdCi9Eb2NDaGVja3N1bSAvODRCNTFFRUQ3NkVFNjBGQzU1MDg1RTM1MTY0QjYyQjMKPj4Kc3RhcnR4cmVmCjY0NDcKJSVFT0YK";
$uri = createEnvelopsAndGetViewUri(array(
'pdf_base64_content' => PDFCONTENT,
'pdf_title' => 'Bestes Dokument der Welt',
'email_subject' => 'Bitte um Unterschrift',
'pos_x' => ['20', '40'],
'pos_y' => ['20', '20'],
'page' => '1',
'email' => array('bengtler@gmail.com', 'bengt.weisse@gmx.de'),
'name' => array('Bengt Weiße', 'Bengt Weisse'),
'return_url' => 'https://google.de' # Valide URL - eingetragen im Admin Panel
));
echo $uri;
?>