@Kyleva2204authorDec 26.2005 — #Most of the PHP functions are binary file safe.[/QUOTE] and that means? LOL... Im meaing is there a function that u can open a file, and out put the information in the file (the data) in binary. and then resave the file.. In binary, but it will be a valid file, ya know?
@bokehDec 26.2005 — #Read a binary file into a string: [code=php]$binary_data = file_get_contents($filename);[/code]Write binary data to file (PHP4):[code=php]$pointer = fopen($filename, 'w+'); fwrite($pointer, $binary_data, strlen($binary_data); fclose($pointer);[/code]Write binary data to file (PHP5):[code=php]file_put_contents($filename, $binary_data);[/code]