Example file 4

Making links to other secure pages.

In this file are links to other pages within your content folder, the links are simple html and JavaScript.

Open Example file 1

Open Example file 2

Two main components of this file are:

1. The html FORM:
<form name="pagesform" action="get_details.php" method="post">
<
input type="hidden" name="the_page" value>
<
/form>

2. The JavaScript function:
<
script language="JavaScript"><!--
function show_secure_page(the_page)
{
  document.pagesform.the_page.value=the_page;
  document.pagesform.submit();
}
// --><
/script>

Both these components must be on the page for this type of link Link to PHP file to work correctly.