plznty Posted January 4, 2011 Share Posted January 4, 2011 I would like a part of my script to link to an external sites script It doesn't seem to be doing it though Othersite.com - index.php?name=hello&status=1 I would like my post.php to run that above. Can it be done? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted January 4, 2011 Share Posted January 4, 2011 <?php $output = file_get_contents("http://www.othersite.com/index.php?name=hello&status=1"); echo "output: $output "; ?> Quote Link to comment Share on other sites More sharing options...
plznty Posted January 4, 2011 Author Share Posted January 4, 2011 Didn't think that would work, I thought I'de need something like exec. Thanks! Quote Link to comment Share on other sites More sharing options...
plznty Posted January 4, 2011 Author Share Posted January 4, 2011 Done. Quote Link to comment 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.