command-line export data to php
You could run Blender through PHP, pass arguments (see here) and let Blender print JSON-encoded data wrapped by some text markers. Extract and parse the JSON-data with PHP and use it.

Example implementation:

https://github.com/CoDEmanX/blend_stats

Note that Blender.Window.FileSelector(...) is only valid in Blender 2.4x, API is completely different in 2.5x / 2.6x.