dc_jt Posted June 1, 2007 Share Posted June 1, 2007 Is this possible? <? include($_SERVER['DOCUMENT_ROOT']."/includes/feature.inc.php?id=49"); ?> I get an error saying failed to open stream: No such file or directory in Thanks Link to comment https://forums.phpfreaks.com/topic/53841-solved-passing-in-number-on-an-include/ Share on other sites More sharing options...
per1os Posted June 1, 2007 Share Posted June 1, 2007 I see its solved, but try this incase it was a mis-hap. <?php $_GET['id'] = 49; include($_SERVER['DOCUMENT_ROOT']."/includes/feature.inc.php"); ?> Link to comment https://forums.phpfreaks.com/topic/53841-solved-passing-in-number-on-an-include/#findComment-266251 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.