further work done added PHP stuff