Welcome Guest, Not a member yet? Register   Sign In
Upload class: file_size for content-length
#1

[eluser]Maximilian Schoening[/eluser]
Hi,
I am trying to set the following header information:

Code:
header('Content-Length: ' . $upload['filesize']);

I store the filesize through the upload return (which is in KB) $upload['file_size']. So I would get something like 22.2 stored in the database. How can I turn this into a value I can use for content-length?

Thanks,
Max




Theme © iAndrew 2016 - Forum software by © MyBB