so ... what does this php script actually do ?