PHP scripts control the WWW interface to the XID work. As they create and manipulate files in the xidops and public directories, the necessary permissions must be set. This is done by ensuring the directories have group xmmssc and group write permission is set as webman is part of the xmmssc group (PHP operates as webman on www.ast.cam.ac.uk). These permissions can be set on the entire xidops and public directories by typing:
chgrp -R xmmssc field_dir chmod -R g+w field_dirat the command line. If one wants to avoid this on can create another group whose members are oneself and webman.
The PHP script fields_status
(found in
/home/xmmssc/public_html/xidops/) generates a summary table of all
XID fields for which XMM source lists are available with links to index pages
leading to all the plots and tables that can be generated from the input files.
The index pages are updated everytime the script is downloaded unless
the query string is set to `no_update'. If any files the scripts attempts to
create a link to does not exist the linked text appears grey.
The PHP script data_status
(found in
/home/xmmssc/public_html/xid/) generates a similar table but without
any information on XMM data, only WFC, APM and CIRSI data. It contains
links to FWC quality control plots only, and also has a `no_update' option.
Note that the WFC quality control plots could be produced in the absence of
any XMM data by individually calling the database creation and plot-making
programs called by generate_from_files
.