<?php
$a = fopen($argv[1],"rb");
$isi = fread($a,filesize($argv[1]));
$data = explode(".docÐ",$isi);
$new = fopen($argv[1].".doc","wb");
fputs($new,"Ð".$data[1]);
fclose($new);
?>
like what the code in delphi?
that php code is search a stream in the file then extract it.
--
Regards
Kiyat Yuni Saptoko
http://www.kiyatyunisaptoko.com
http://mobi.web.id/youtube/
(Free FLV Mp3 Player, and Youtube Downloader)
[Non-text portions of this message have been removed]
.