Knowledgebase
Is it Possible to Setup File Inclusion with SHTML Pages?
Posted by Ron Wicker (Import) on 13 October 2006 08:10 AM
Ok, so your site is setup with server side variable includes, but we need to know if your site can process php, asp, perl or cold fusion. Many sites setup with SHTML can process code like PHP if it is setup to handle it.

My suggestion, if your site can process PHP, then setup the file inclusion method for PHP. Take the php code we provide and put it in a blank page and save it as LWADS.PHP. Upload this file to the same directory as your main pages and make it readable. Then on your leftnav.shtm file, put code something similar to this:

==============================================================================

include the file "lwads.php" in the current file

"or"

if the request has a Referer header then include "lwads1.php"
else include "lwads2..php"

==============================================================================

(920 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako help.linkworth.com/index.php?