Author Topic: SSI  (Read 4006 times)

josephsimon

  • Posts: 3
    • View Profile
SSI
« on: December 07, 2004, 10:13:27 pm »
I can't seem to get server side includes to work when inserting them into the custom html area.  

Cheers,
JSI

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
SSI
« Reply #1 on: December 08, 2004, 09:19:27 am »
I don't believe that you can use server-side includes in your custom HTML, but don't know for sure.  One alternative, so that you can use your own scripts, PHP etc, is to set up an automatic redirection from the Custom HTML page to one of yours.

ie:

Code: [Select]
<html>
<head>
<title>Thanks for subscribing!</title>
<meta http-equiv="refresh" content="2; URL=http://yoursite.com/post-signup.php">
</head>
<body>
<a href="http://yoursite.com/post-signup.php">Click here</a> if you are not redirected in 2 seconds.
</body>
</html>


It might be easier / faster with JavaScript:

Code: [Select]
<html>
<head>
<title>Thanks for subscribing!</title>
</head>
<body>
<script language="JavaScript"><!--
window.location='http://yoursite.com/post-signup.php';
--> </script>
</body>
</html>
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting