| Author |
Message |
shags_porn
Joined: 04 May 2007 Posts: 2
|
Posted: 06 Jul 2007 14:20 Post subject: Comus include! |
|
|
Hi guys just a heads up, I was having trouble to get the protectx.php include to work on some of my sites but not all, I discovered that if the "<!--#include virtual="projectx.php"-->” is not working I can use this "{{include-../../protectx.php}}” but it only works on my Webair sites… Anyway thought this might help somebody else in the future.  |
|
| Back to top |
|
BOOM
Joined: 13 Feb 2007 Posts: 181 Rank: 13 Location: Orillia, Ontario
|
Posted: 06 Jul 2007 14:44 Post subject: |
|
|
Hi Shags,
I'm not sure what the problem is but, I can tell you that ../../ is the command to read from a different directory. Each ../ will read from a directory down from the current, so the script is reading the protectx from two directories down.
Cheers,
Jeff |
|
| Back to top |
|
Protect-X Support

Joined: 30 Oct 2006 Posts: 934 Rank: 35
|
Posted: 06 Jul 2007 16:48 Post subject: |
|
|
| BOOM wrote: | Hi Shags,
I'm not sure what the problem is but, I can tell you that ../../ is the command to read from a different directory. Each ../ will read from a directory down from the current, so the script is reading the protectx from two directories down.
Cheers,
Jeff |
i think Duncan (shags_porn) meant a folders sequence under ../../ symbols.
This is Comus include, thus it will work with Comus sites only.
Thanks, Duncan, for your post and welcome Protect-X forum. _________________ Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors |
|
| Back to top |
|
vendzilla

Joined: 06 Nov 2006 Posts: 141 Rank: 32
|
|
| Back to top |
|
18only
Joined: 07 Aug 2007 Posts: 2
|
Posted: 11 Aug 2007 04:50 Post subject: |
|
|
Just to let you know guys, if your using CT like i am, and build your page with the .shtml extension (like i do), you can use
| Code: | | <!--#include virtual="protectx.php"--> |
Without problems.
Just edit your main page as usual (Pages->Main) and as extension .shtml. |
|
| Back to top |
|
xwild
Joined: 01 Nov 2006 Posts: 576 Rank: 35
|
Posted: 11 Aug 2007 06:35 Post subject: |
|
|
this is my code
<center><? require_once("protectx.php");?></center>
works excellent with out intefering from incoming SE traffic.
Protect-x is Excellent!
 |
|
| Back to top |
|
|
|
|
|
|
|
|
|