Hi everyone,
I was wondering if it's possible to do this.
Some value is returned in text format after performing something.
Example, a text file is returned containing just this.
(without the ---)
------------------------------------
THE_ANSWER=10
------------------------------------
From that text file, (using some other script obviously)
Is it possible to do this?
PHP Code:
if ($the_answer=="10")
{
do this
}
else
{do something else.
}
So, in essence, making 'THE_ANSWER' into a variable from the text file.
It doesn't have to be a text FILE.
It can be just text that is returned, in the browser. (file not created, text just diplayed)
I hope you understand my gibberish
Thanks,