Hello, how can i send content with drm forward lock wrapper using php ?

I send a wap push via sms to something like k9.cx/test.dm, the dm file is a php scrip that contains this:

<?php
header("Content-type: application/vnd.oma.drm.message; boundary=boundary-1");
print("--boundary-1\n");
print("Content-type: image/jpeg\n");
print("Content-Transfer-Encoding: binary\n");
print("\n");
readfile('test.jpg');
print("\n--boundary-1--\n");
?>

Any idea on how to correctly apply add the forward lock to the jpg.


regards.


  • DRM Forward lock Nicolas de Bari Embriz Garcia Rojas

Reply via email to