Due to the setup of a server I’ve got, I’ve rewritten the part of the PHP script which deals with converting binary to base64 into python, including setting the correct headers; the output I get seems identical to the output from the original PHP script. However, running the file results in:

 

Unrecognized file format for file http://localhost/zapped

 

<head>

 

<title>Error response</title>

 

</head>

 

Is there anything I can do to get around this?!

 

Cheers,

Chris

 

-------------------

Dr Chris Wood

STFC Rutherford Appleton Laboratory

Didcot

OX11 0QX

 

chris.wood@stfc.ac.uk
www.ccpem.ac.uk


Tel: +44(0)1235 567864

Tel: +44(0)7909 586624
Fax: +44(0)1235 567801

 

Skype: chris_c_wood

 


--
Scanned by iCritical.