Not in a widget.
<?
$textfile ="randomfooterads.txt";
$items = file("$textfile");
$item = rand(0, sizeof($items)-1);
echo $items[$item];
?>
<?php include('randomfooterads.php'); ?>

Comment