| Windows | Linux (Ubuntu) | ||||||||||||||||||
WindowsEdit the Apache configuration file, httpd.conf (from the Apache menu). Look for the line:#LoadModule rewrite_module modules/mod_rewrite.soUncomment it by removing the initial "#" character. Then restart Apache (from the menu). |
|||||||||||||||||||
$_SESSION['_VALID_'] = 1Each script requiring authenticated access must somehow:
index.php: presents the features: read, create, logout read.php: non-protected read script handlers/readHandler.php: non-protected read activation script _create.php: protected create script _handlers/createHander.php: protected create activation scriptBoth read.php and _create.php present a simple HTML form which performs an AJAX-activation of the respective "handler" script. The "handler" script simply indicates through its output that it is being activated. Below we illustrate the index.php file as well as the files used for the "read" feature. Those for the "create" feature are similar.