I have a TXT that looks exactly like this:
var1=34&var2=90&var3=77
I need to recover those variables and also their names, because I wont know the name of the vars, so i need to do a script that can read the vars and convert them to php vars without having any idea of what's is inside txt.
I thought that I can just read "fopen()" the whole txt and add the strings to an address, like :
txtdecoder.php?var1=34&var2=90&var3=77
But some txt are really huge to be send by url.
The final result I need is something like:
$recoverdvar1=var1;
$recoveredvalue1=34;
$recoverdvar2=var2;
$recoveredvalue2=90;
Any hints?