Work on php for ring site