I need a function to parse any [url removed, login to view] file. Unlike most solutions that are freely available on the web I need the function to do the following:
Grab [url removed, login to view] for example [url removed, login to view] and add the Disallowed paths to an array. Please note that I only need the Disallowed ones and not the Allowed.
Your function will simply put all paths into an array. Please provide a working demo where I can enter a [url removed, login to view] url to see if your script works well.
I will select the first programmer who comes up with a working solution if the bid is within the budget for this project.
Note: If [url removed, login to view] doesn't exist on a server or if there are only Allowed: lines then your array will just contain
as I need at least one value inside the array.