View Single Post
Old 06-04-2005, 10:39 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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.
Attached Files
File Type: zip recentqueries.zip (1.2 KB, 10 views)
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote