![]() |
Okay, I know I had this problem, and then fixed it, so I'm passing it along, just in case you might want it. :D
Here is a script that allows you to call any .html or .txt files INTO your forums, or any files that are not .shtml so for all your SSI you can use this code to call it into your forum pages. This is also great for people you want to use banner rotators. Code:
#!/usr/bin/perl Now copy that into a .txt file, and rename it includer.cgi, set your perl location at the top #/usr/bin/perl (this may be different for some free/pay hosts), upload it, CHMOD 755 (set permissions to 755) and that's it. There is no need to edit this script, calling is done from the code below Now in any page with ANY file extension (html, htm, shtml, shtm, php, php3, cgi, pl, etc..) you include this code: Code:
<script src="/cgi-bin/includer.cgi?../point/to/file.txt"></script> Credit to: Jimmy (wordx@hotmail.com) for the creaton of this script. snyx |
this could be quite useful for a few things i want to do, thanks.
|
i was searching for something like that for age thanks
i have add your script to my forum and i have edit my bb code so i have done it like this Code:
[inc] is replaced with <script src="/cgi-bin/includer.cgi?../ |
Try this is all else fails:
Code:
<script src="http://www.yourname.com/cgi-bin/includer.cgi?../point/to/file.txt"></script> |
All times are GMT. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|