i am reading file like this
$myFile = "test123.txt"; $fh = fopen($myFile, 'rb'); $theData = fread($fh, filesize($myFile)); fclose($fh);
converting the pdf stream into base64 stream
then sending it to my webservice but it doesent work.
as it sends the file on the server but server doesent recognize the file type or u can say i cant open the file
plz help me.
Retrieving data ...