<?php $phpcode = file_get_contents('http://tuweb.com/menu.txt'); //muy importante que esté en .txt sino no funcionará eval('?>'.$phpcode.'<?'); ?>