Re: [PHP] Writing Binary

2007-01-01 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-01 15:15:07 -0500: > Hello Everyone, >I'm trying to write a PHP script that opens a binary file, reads the > binary in chunks, checks those chunks for a certain binary string, and > then if the string is found, it replaces the string with another binary > string

[PHP] Writing Binary

2007-01-01 Thread Philip W.
Hello Everyone, I'm trying to write a PHP script that opens a binary file, reads the binary in chunks, checks those chunks for a certain binary string, and then if the string is found, it replaces the string with another binary string. The script should then a copy of the file, including th

[PHP] writing binary data to file

2005-01-14 Thread Davide
hi, I must change some bytes in array filled from a msssql text field; now I do: function adjust (&$ar_in) { $ar_in{0}='Ð'; $ar_in{1}='Ï'; $ar_in{3}='à'; $ar_in{4}='¡'; $ar_in{5}='±'; $ar_in{7}='á'; } I've copied/pasted values from an hex editor and this works ok. Question