I am new to PHP (never used it until tonight) and I need to use a PHP script to read the contents of the file on my website (http://kylemills.net/Geocaching/BadgeGen/MacroFiles/BadgeGenBeta.gsk), and then take some specific variable data and output it.
For example: if my file contains the text:
random text
Here is some text
$Version = "V2.2.23 Beta"
random text
$Text="some text"
If the contents of my file were above, I need a script to return "V2.2.23 Beta" (without quotes). The idea is that when you update the file, the version changes, and I want it to be reflected on my site.
I apologize if I don't make any sense ... any help would be appreciated :)
-Thank you, Kyle