Upzip the attachment and FTP recentqueries.php to your PhpDig directory, the one that contains the search.php and list.php files.
In the PHP page that you wish to show the last ten PhpDig queries, place the following code, changing the two paths as needed:
Code:
chdir("/full/path/to/phpdig/dir");
include("recentqueries.php");
chdir("/full/path/to/return/dir");
Note that you may have to edit the HREF tag in the attached file, or SEARCH_PAGE in the PhpDig config file, to correctly link to your search page. It is up to you to edit to your preferences.