I am uploading a file via ajax, an image specifically, and in my upload I am getting this information on the php server:
------WebKitFormBoundaryVuxuxnms21f4i1ZX Content-Disposition: form-data; name="file"; filename="blob" Content-Type: image/png
�PNG
IHDR,,y}�u IDATx^L�ɓdו�w|v�y�̈���b 8�ɪbUuw���h�Lfj-d2�i!3md���i�fZ���Z&�ꮪ& �C�������~��"�4gdF�?��s�{�w�sn�ٳ�A�<�Ͽ?��{��o���l4���G�Ջ��'q���x��ftzk�/w���D�������r�l�G�Q���fԪ�hԇ�Z����N7v�:����k����[�뱹�����vkQ���kFt[Q/����lT��x��k���Տ~��V�����N7�v{Q.բT*G� ------WebKitFormBoundaryVuxuxnms21f4i1ZX Content-Disposition: form-data; name="name"
image ------WebKitFormBoundaryVuxuxnms21f4i1ZX--
I know the charaters inside are the image/file being uploaded, but how do I parse the WebKitFormBoundary to only get the file data?