Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-22 21:21:12

wii
Member
Registered: 2005-05-08
Posts: 77

Include a SSI file in Textpattern ?

I made a form with an include for a SSI file, it doesn´t work, but is this possible at all ?

Chatroom Users:

<txp:php>include(“http://mysite.com/chat/cgi-bin/chat.pl?template=users_ssi”);</txp:php>

Thanks

Offline

#2 2007-11-30 09:48:53

wii
Member
Registered: 2005-05-08
Posts: 77

Re: Include a SSI file in Textpattern ?

Anyone ?

Offline

#3 2007-11-30 10:26:54

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Include a SSI file in Textpattern ?

Does it give an error?
Is that URL on your own website or remote?

Offline

#4 2007-11-30 11:23:48

wii
Member
Registered: 2005-05-08
Posts: 77

Re: Include a SSI file in Textpattern ?

No error, nothing.

The URL is my own – same domain.

Offline

#5 2007-11-30 11:28:47

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Include a SSI file in Textpattern ?

What happens if you put this in a separate test.php file on your website:

<?php
include(“http://mysite.com/chat/cgi-bin/chat.pl?template=users_ssi”);
?>

Offline

Board footer

Powered by FluxBB