<? $documentList = array( 'document1.html', 'document2.html', 'document3.html' ); include $documentList[array_rand($documentList)]; ?>