Jump to content

Featured Replies

No, not base64. Plain file content as value.

  • Author
On 4/4/2023 at 12:57 PM, Martin A. said:

No, not base64. Plain file content as value.

Sorry @Martin A. I don't think I got it... What is "plain file content"? If it's a PDF, what should I do?

In PHP it would look something like this:

array(
	'file1.pdf' => file_get_contents( '/path/to/file1.pdf' ),
	'file2.pdf' => file_get_contents( '/path/to/file2.pdf' ),
	'file3.txt' => 'This is the plaintext contents of file3.txt'
)

So basically the raw file contents as a string.

Recently Browsing 0

  • No registered users viewing this page.