uk_martin Posted January 24, 2008 Share Posted January 24, 2008 hi I have a phpBB site, and have been happy with the way that it has been working...until the web hosts changed their version of the PHP Server software. In the past I had a form "form.php" which was included in a phpBB template (TPL) file. That stopped working and error notifications appeared. In asking my web host what they knew about this, they told me of the following answer: Our server is using PHP 5.2.5 and this version wont support include('http://url.com') in your php program. Instead you can use file_get_contents('http://url.com/'). In case you have any questions don't hesitate to contact us . Regards, I tried the "file_get_contents"option, but it woulsn't work as a basic copy / paste. Does anyone else have any ideas as to what I need to replace "include"? Thanks in advance for your help. Martin Quote Link to comment https://forums.phpfreaks.com/topic/87571-including-other-php-files/ 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.