jdock1 Posted June 19, 2009 Share Posted June 19, 2009 Im messing around with file_get_contents, and wrote this code real quick to see what id would do; <?php $query = $_GET['query']; $homepage = file_get_contents("$query"); ?> // html form... <?php //then I echo the query echo "$homepage"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/162866-solved-file_get_contents-help/ Share on other sites More sharing options...
xtopolis Posted June 19, 2009 Share Posted June 19, 2009 file_get_contents($query) assuming $query holds a filename. Quote Link to comment https://forums.phpfreaks.com/topic/162866-solved-file_get_contents-help/#findComment-859385 Share on other sites More sharing options...
jdock1 Posted June 19, 2009 Author Share Posted June 19, 2009 file_get_contents($query) assuming $query holds a filename. Thanks BROtha! Quote Link to comment https://forums.phpfreaks.com/topic/162866-solved-file_get_contents-help/#findComment-859388 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.