Ok so im not a php coder as such and still trying to learn new and challenging things, however i would like some help with what direction i should be going in.
I have a project of creating a php script that will read a file but not a standard .txt it is a .dmx file, now using the echo readfile("file.dmx"); is ok but i need to format this file.
Thing is the dmx is structured like this:
How would i go about reading this with php as when i use the readfile function all i get is.
"info"{"info""int"0"}
which is all well and good but not when the .dmx file gets much bigger then its just a pure mess.
Any ideas people?
I have a project of creating a php script that will read a file but not a standard .txt it is a .dmx file, now using the echo readfile("file.dmx"); is ok but i need to format this file.
Thing is the dmx is structured like this:
Code:
"Info"
{
"info" "int" "0"
}
How would i go about reading this with php as when i use the readfile function all i get is.
"info"{"info""int"0"}
which is all well and good but not when the .dmx file gets much bigger then its just a pure mess.
Any ideas people?