Hm... I'm not sure if I understand what exactly do you want to know. But, since I made a similar sites (panoye and ela) I'll try to respond...
There are many different ways to show a panoramic, java applet (ptviewer, very easy but it is java), javascript (bad for spherical images, since it can't deal with equirectangular panoramas distortions) and flash. I use javascript and flashpanoramas flash viewer. With flashpanoramas your php script must create XML files for all panoramas.
For spherical panoramas - I think flash is the way. But then, your panoramas should be cubic, not equirectangular.
Anyway, I'm not sure if there is an quick & easy way...