Well, if you want it on an external web page, you will have to use SSI to do this.
Try the following:
1) Create a script called today.cgi, like the following:
Code:
#!/usr/local/bin/perl
# Link for Today's Records
$days = 2;
$time = time() - ($days * 86400);
my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $daylight) = loc
altime($time);
my (@months) = qw!Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec!;
($day < 10) and ($day = "0$day");
$year = $year + 1900;
$new = "$day-$months[$mon]-$year";
print qq|<a href="http://www.yourdomain.com/cgi-bin/dbman.cgi?db=default&uid=default&ww=on&Date-gt=$new&$db_key=*&view_records=1">View Today's Records</a>|;
2) Save this file as .pl or .cgi depending on if you are using .pl or .cgi files.
3) Then upload the file to the directory where your DBMAN files are located.
4) Change the permission of this file to 755 (rwxr-xr-x).
5) Then link this file in a web page that allows SSI (like a .shtml file), in the following manner:
Code:
<!--#exec cgi="/cgi-bin/dbman/today.cgi"-->
Hope this helps.
Regards,
------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
[This message has been edited by AnthroRules (edited March 07, 2000).]