Jump to content

Include other website


shadowspy1

Recommended Posts

I have been stumped for days trying all sorts of different code with nothing working at all, even when someone mentioned to me that php include() was the way to go. What I am trying to do is gather information from a webpage and displaying it on mine. I have permission to do so and everything. I'm just not sure if I am on the right path here though.

Link to comment
https://forums.phpfreaks.com/topic/54145-include-other-website/
Share on other sites

<?php
phpinfo();
?>

 

Look through there for "allow_url_fopen"

 

http://us2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen

 

See if that is enabled or not, if it is not it needs to be in order to retrieve files from remove site.

 

Your host could have it disabled.

Link to comment
https://forums.phpfreaks.com/topic/54145-include-other-website/#findComment-268782
Share on other sites

cURL is disabled as well. I'm going to give what you mentioned a try to see if that works. I think it is because I'm on a free account to try to get the script working and they block it because of spamming. Your suggestion doesn't work. I guess I'm going to have to pay for an account to get the full features of my site working.

Link to comment
https://forums.phpfreaks.com/topic/54145-include-other-website/#findComment-268795
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.