Crew-Portal Posted September 30, 2007 Share Posted September 30, 2007 okay. I made this thing that connects to a database on my server and I am allowing someone else to use my script. the script just displays all users signed up. anyways I am trying to do something like <?php include ('http://www.cmxva.com/index.php?page=members'); ?> but it wont let me. apparantly I need some type of ini_set code on my site and thiers to allow it to go through, but sadly im a n00bie and I dont know what the ini_set setting is. can someone help me. Just again it allowing another website through via ini_set using the include setting (Just posted it twice cause im bad at yping and most people dont get what im saying)!! Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted October 1, 2007 Author Share Posted October 1, 2007 sorry but i really need help on this! Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted October 1, 2007 Share Posted October 1, 2007 <?php ini_set('http://www.cmxva.com/index.php?page=members'); include ('http://www.cmxva.com/index.php?page=members'); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted October 1, 2007 Share Posted October 1, 2007 @darkfreaks Are you sure you did that right? That does nothing. @N350CA You need to set the ini directive allow_url_fopen to on or "1", to allow PHP to include remote urls. Note that if safe_mode is on, it will be impossible either way. <?php ini_set('allow_url_fopen', '1'); include ('http://www.cmxva.com/index.php?page=members'); ?> Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted October 3, 2007 Author Share Posted October 3, 2007 Thank you very much! TOPIC SOLVED!!! Man I luv sayin' that. it just proves to the world that PHP can solve all your problems. 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.