C Short data type and PHP
Posted: Thu Jan 21, 2010 12:24 am
Hello all,
I have some PHP scripts that need to communicate to a server running some apps that returns mostly text, except for one parameter at the very beginning - a record length, which is a C-Short data type.
If everything else is text, then I just need to figure out how to parse this C-short data type variable's value before being able to find out where the rest of the text is but need some advice as how to go about doing this.
One simple workaround is to have the apps be modified so that they return this length in plain text but that's not possible.
Any help would be greatly appreciated!
Thanks
I have some PHP scripts that need to communicate to a server running some apps that returns mostly text, except for one parameter at the very beginning - a record length, which is a C-Short data type.
If everything else is text, then I just need to figure out how to parse this C-short data type variable's value before being able to find out where the rest of the text is but need some advice as how to go about doing this.
One simple workaround is to have the apps be modified so that they return this length in plain text but that's not possible.
Any help would be greatly appreciated!
Thanks