I created a php page in Dreamweaver, pasted the script into the page, uploaded to the server (in the PowerStore 401 folder), clicked on discover got the message: Dynamically-related files could not be resolved because the site definition is not correct for this server. Retry | Setup.
Not sure what to make of that. The site is already setup and functioning. Not sure how or where to run the script.