To generate dynamic sitemap with php , you can create a php page which generate xml code including all the pages exists on server