The float comes from a game server. The game server was made with C++ and sends the data over a winsock connection. The data comes in string form which I'm able to convert to hex but not into float. I haven't tried that file thing and may be worth trying if theres no functions that will do this. Is there a way to write a C++ plugin or module of something for php that will create a function to do this?