You are here: PHP + binary files « PHP Programming Language « IT news, forums, messages
PHP + binary files

Posted by E.T. Grey on 02/01/06 07:06

I am persisting nested (tree) structures in C to binary file. I want to
be able to read/write this data using PHP - is this possible?. That is
to say, can PHP read/write C structures to file so that the contents may
be transferred to a C client app?

The idea is that I store the binary files at the server end and clients
can request for the file(s). Is this possible ?

PS- the client is (of course) a C++ client, capable of understanding the
returned structure. Another point worth mentioning is that the server
will be on Unix and the client on Windows. Can I force PHP to write the
binary file using Network byte order so that endianess is not an issue?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация