wonfineday Posted February 26, 2011 Share Posted February 26, 2011 In my code include_once "http://myserver.com/someFile.php" does not work but include_once "/someFile.php" works I NEED to be able to full URL. Anyone know what PHP setting I need to change to get this working for me? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/228939-how-to-include-file-from-url-in-php-code/ Share on other sites More sharing options...
sasa Posted February 26, 2011 Share Posted February 26, 2011 look manuaql http://php.net/manual/en/function.include.php http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen Quote Link to comment https://forums.phpfreaks.com/topic/228939-how-to-include-file-from-url-in-php-code/#findComment-1180069 Share on other sites More sharing options...
wonfineday Posted February 26, 2011 Author Share Posted February 26, 2011 Thanks for that pointer, but we already tried allow_url_include and allow_url_fopen and neither of those did the trick Now what? Quote Link to comment https://forums.phpfreaks.com/topic/228939-how-to-include-file-from-url-in-php-code/#findComment-1180087 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.