Jump to content

Including other PHP files


uk_martin

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.