Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

How to "Include" file

Aloittaja qd-race, lokakuu 17, 2006, 04:50:10 AP

« edellinen - seuraava »

qd-race

I want to add affiliate link at the bottom of the page without using the database. This Affiliate maybe will change from time to time, so I think better to use Include file as below code in qd-race.com server:

affiliate.php (in replica2u.com server)

<html>
<body>
<small>Altered and Moded by <a href="http://www.qd-race.com" target="_blank"><b>Rosdi Bin Ahmad</b>.<br></a>
Affiliate: <a href="http://www.qd-race.com" target="_blank">Qd-race.com</a>&nbsp;
|&nbsp; <a href="http://www.replica2u.com" target="_blank">Replica2u.com</a>&nbsp;
|&nbsp; <a href="http://www.steamyx.net" target="_blank">Steamyx.net</a>&nbsp;
|&nbsp; <a href="http://hazlina.ui2u.com" target="_blank">Uptrend2u.com</a></small>


index.template.php (Beginning on line 238)

after:

', theme_copyright(), '<br />

I insert

<?php Include ("http://www.replica2u.com/affiliate.php"); ?>

Nothing happen when running. Any error for the above code? Please help.

Thanks.
http://www.qd-race.com |  http://www.replica2u.com  |  http://www.steamyx.net

Advertisement: