0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
affiliates_8mor
/
plugins
/
misc
/
[
Home
]
File: secure_page.php
<?php ######################################## ## PASSWORD PROTECT CERTAIN WEB PAGES ## ######################################## $JAM_Directory = '/var/www/html/affiliates'; require_once ($JAM_Directory.'/plugins/misc/secure_prepend.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Membership Web Page</title> <style type="text/css"> <!-- body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333333; background-color:#003366; letter-spacing: 0.1em; } --> </style> </head> <body> <table width="600" border="0" align="center" cellpadding="10" cellspacing="0" bgcolor="#FFFFFF" style="border:1px solid #666666;"> <tr> <td style="background-color:#CCCCFF; font-size:18px;"><div align="center">Welcome to this Membership Site! </div></td> </tr> <tr> <td><p align="center"><strong>This is a test membership page.</strong></p> <p>With JAM you can create a secure membership site, or even create secure download area for your digital ebooks or software.</p> <p>This page can only be accessed when your users login through the JAM login form. It cannot be accessed directly or through a link. The JAM Authentication Module which has been appended to the top of this PHP page protects this page from being seen by anyone else other than your JAM members.</p> <p>Here's an example of secured download links as well.</p> <ul> <li><a href="/affiliates/plugins/misc/download.php?id=1">eBook Download Link 1 </a> - This link is also protected using the download.php file located in your /plugins/misc folder in JAM. You can upload as many digital products as you want into a secure directory on your web hosting account, then just edit the download.php file to map the secure download ID to the filename of your product, for example: <strong>ebook1.zip </strong></li> <li><a href="/affiliates/plugins/misc/download.php?id=1">eBook Download Link 2</a> - Another protected downloadable ebook. </li> </ul> <p>The nice thing about the download.php script is that it protects your digital goods by placing it in a directory above your publicly accessible web folder, so no matter what, no one can access your products without authentication. </p> <p> </p></td> </tr> <tr> <td> </td> </tr> <tr> <td bgcolor="#CCCCFF"> </td> </tr> </table> </body> </html>