The attached PHP file simply reports how many
outstanding unaccepted changes there are in a PGV
database. It can be used from client-side script files
before FTP uploading a replacement GEDCOM with
something like (for Windows):
Echo Checking for online updates . . .
For /F %%C In ('Get
http://www.mywebsite.com/pgv/changes.php') Do (
If Not "%%C" == "0" (
Echo *** %%C ONLINE CHANGES DETECTED ***
Exit
) Else Echo [no changes detected]
)
This example uses a Perl-based command-line web page
retriever, GET, but other similar tools exist that work
just as well. Similar scripts can easily be created
for Linux, etc.
Refer to bug report #1094490
<http://sourceforge.net/tracker/index.php?func=detail&aid=1094490&group_id=55456&atid=477079>
for a discussion of the problem this tries to help with.
Gary
Reports number of unaccepted changes.