The exec was the problem after all. A virtual include works fine.
In reply to Re^2: Passing data via URL in include by i_am_jeers_colon in thread Passing data via URL in include by i_am_jeers_colon