Brandonius Posted July 14, 2006 Share Posted July 14, 2006 Is it possible to manipulate a binary file on the server with PHP?For example, take an executable, seek to byte 1000, overwrite the next 6 bytes with new data, and save the modifed file?Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/14622-binary-file-manipulation/ Share on other sites More sharing options...
ShogunWarrior Posted July 14, 2006 Share Posted July 14, 2006 PHP has binary safe file functions, binary operators and with [b]fseek[/b] you can seek to a byte in a file so I'd say it's possible. Quote Link to comment https://forums.phpfreaks.com/topic/14622-binary-file-manipulation/#findComment-58171 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.