Forum Moderators: coopster

Message Too Old, No Replies

SSI between servers

         

Brummerstedt

4:45 pm on Apr 22, 2011 (gmt 0)

10+ Year Member



Hi!

I want to make a custom text in the bottom right corner of my costumers' websites. I want to be able to change it without contacting my costumer.

For example: January, it will show: "January sales, 20% off", and in Feb it will show: "Visit this site! :)" ...

I want to use the <?php include() ?>, but because the .txt file I'm linking to is on another server, it returns an error.

What can i do instead to have the same functionality?

/Brummerstedt

rocknbil

5:46 pm on Apr 22, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard Brummerstedt, A PHP include is not the same as SSI, but all good, it's similar functionality.

What is the error? Something about opening remote files?

If all else fails you should be able to curl it with curl [php.net]