PHP Extra SSI Functions Introduction: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
m (Bot: Automated text replacement (-  + ))
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Cleanup html}}
There are quite a few extra features you can have working on your website by using SSI.php. Below are some advantages that are not listed in the examples.
There are quite a few extra features you can have working on your website by using SSI.php. Below are some advantages that are not listed in the examples.


Line 5: Line 4:


Hit Counter:
Hit Counter:
 
{{code|1= <?php trackStats(array('hits' => '+')); trackStats(); ?>}}
<div class="codeheader">: <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation"></a></div><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php&nbsp;trackStats</span><span style="color: #007700">(array(</span><span style="color: #DD0000">&#039;hits&#039;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">&#039;+&#039;</span><span style="color: #007700">));&nbsp;</span><span style="color: #0000BB">trackStats</span><span style="color: #007700">();&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></code>
Add the ability to track the number of hits on your website to be included to the number of hits on your [[Forum]] (requires Track daily statistics and Track daily hits must be enabled in your forums Admin Edit Features and Options settings).
Add the ability to track the number of hits on your website to be included to the number of hits on your [[Forum]] (requires Track daily statistics and Track daily hits must be enabled in your forums Admin Edit Features and Options settings).


[[category:developing SMF]]
[[Category:Developing SMF]]
[[Category:Integrating SMF]]
[[category:SSI]]
[[category:SSI]]

Latest revision as of 12:06, 1 July 2013

There are quite a few extra features you can have working on your website by using SSI.php. Below are some advantages that are not listed in the examples.

  • PHP Extra SSI Functions List

Hit Counter:

<?php trackStats(array('hits' => '+')); trackStats(); ?>

Add the ability to track the number of hits on your website to be included to the number of hits on your Forum (requires Track daily statistics and Track daily hits must be enabled in your forums Admin Edit Features and Options settings).



Advertisement: