开发者

PHP class to create ISO image

I wanted to know if this is possible?

I would like to create a cross platform Flash pr开发者_JAVA技巧ojector and files and than create an ISO from it for the user to download.

Google did not help me much so far...


Of course it is possible to do directly from PHP.

However, as one of the comments to your question states, it's probably going to be easier to call an external binary to do the work for you (Although not all hosts may have mkisofs installed).

If you really must do this from PHP, here's some useful references for you.

ISO 9660 specification (ECMA-119) - This is the file format for "ISO" image files.

PHP pack() and unpack() - These will help you manipulate binary data in PHP.

Once you're familiar with the file structure, you may be able to create some pre-compiled segments, and just patch them at various offsets as well as inserting the payload.

Good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜