Hi,
I'm storing an uploaded jpeg in the session :
$_SESSION['image'] = base64_encode(f ile_get_content s("..."));
But that data is truncated. How to prevent this ?
Another way would be to copy the file into a temp folder
and delete it when the session is destroyed.
How do I get notified when session is destroyed ?
Best regards
Thorsten
I'm storing an uploaded jpeg in the session :
$_SESSION['image'] = base64_encode(f ile_get_content s("..."));
But that data is truncated. How to prevent this ?
Another way would be to copy the file into a temp folder
and delete it when the session is destroyed.
How do I get notified when session is destroyed ?
Best regards
Thorsten
Comment