I have a simple PHP banner rotation script, the contents of banner_1 and banner_2.php:
PHP Code:
<a href="../../../../images/work/widgets.jpg" title="Blog widget and RSS up-to-the-minute feeds of the latest discussions and news from your blog or newsfeed, this application can be seeded in social media venues, downloadable from campaign websites meaning that you are delivering the news to them as it happens" class="style4" rel="lightbox">Widgets / Applications</a>
For some reason on the page a mysterious '1' appears from no where.
File source: PHP Code:
</table>
<?php
$banner_min = 1;
$banner_max = 2;
$random_banner_number = rand($banner_min, $banner_max);
echo include("banner_$random_banner_number.php");?>
<table width="200" border="0" cellspacing="0" cellpadding="10" >
Page source: PHP Code:
</table>
<a href="../../../../images/work/widgets.jpg" title="Blog widget and RSS up-to-the-minute feeds of the latest discussions and news from your blog or newsfeed, this application can be seeded in social media venues, downloadable from campaign websites meaning that you are delivering the news to them as it happens" class="style4" rel="lightbox">Widgets / Applications</a>1
<table border="0" cellpadding="10" cellspacing="0" width="200">
What is generating that random '1'?