error when protecting page
Hello'
I get this error when I try to protect a php page from another program that writes the code and files.
I have a program called adobe lightroom that output a page with pictures.
Every thing works fine until i put lines 1 - 6 copied from the protected page.
I get the error:
--------------------------
Warning: require_once(WA_SecurityAssist/Helper_PHP.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\rvb APR 2010\patty engagement\iindex.php on line 1
Fatal error: require_once() [function.require]: Failed opening required 'WA_SecurityAssist/Helper_PHP.php' (include_path='.;C:\php5\pear') in C:\wamp\www\rvb APR 2010\patty engagement\iindex.php on line 1
______________________
Otherwise everything works ok
Thanks in advance
Ron
CODE IS BELOW
THIS IS THE INDEX.PHP PAGE:
----------------------------------------
<?php
header( 'Location: index.html' );
?>
-------------------------------------------
THIS IS TE INDEX.HTML PAGE:
------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0013)about:internet -->
<head>
<title>FotoPlayer</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="Adobe Lightroom"/>
<meta name="Keywords" CONTENT="FotoPlayer, Free Photo Album, Adobe Lightroom, Lightroom plugin, Lightroom template, FLASH, PHP, XML, flash based photo gallery" >
<meta name="description" CONTENT="Photo Album powered by FotoPlayer for Adobe Lightroom v3.1 free trial version plugin" >
<link rel="alternate" type="application/rss+xml" href="rss.php" title="FotoPlayer v3.1 RSS Feed" >
<!-- FotoPlayer code starts -->
<link href="res/styles.css" rel=stylesheet>
<script type="text/javascript" src="res/javascript.js"></script>
<script type="text/vbscript" language="vbscript"> Function CheckFlash(version) on error resume next
CheckFlash= IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & version)) End Function </script>
<!-- FotoPlayer code ends -->
<!-- FotoPlayer Code starts -->
<style>
#sitename {font-family:Arial;font-size:medium;text-decoration: none;font-weight:Bold;text-align: center;color:#cccccc;margin-left:10px;}
#headerlinks {color:#CCCCCC;font-size:12px;font-family:Arial;font-weight:normal;text-align:center;}
</style>
<!--[if lt IE 7]>
<script type="text/javascript" src="res/unitpngfix.js"></script>
<![endif]-->
<!-- FotoPlayer Code Ends -->
</head>
<body bgcolor="#333333">
<!-- FotoPlayer Menu starts -->
<script type="text/javascript" language="JavaScript">
var headerwidth;
if (false) {
if ("percent" == "pixels")
headerwidth = "100.00"+"px";
else
headerwidth = "100.00"+"%";
document.write('<table align="center" width="'+headerwidth+'" height="100px" bgcolor="#222222" style="border-bottom:5px solid #888888;" ID="table1">');
document.write('<tr> ');
document.write('<td align="left" width="110" >');
document.write(' <div id="sitename"><img src="res/sitelogo.png" border="0"></div>');
document.write('</td>');
document.write('<td>');
document.write(' <table align="center" ID="table2">');
document.write(' <tr> ');
document.write(' <td width="80"><a id="headerlinks" href="default.html" title="Home">Home</a></td>');
document.write(' <td width="80"><a id="headerlinks" href="index.html" title="Album">Album</a></td>');
document.write(' <td width="80"><a id="headerlinks" href="page3.html" title="Contact">Contact</a></td>');
document.write(' <td width="80"><a id="headerlinks" href="page4.html" title="Links">Links</a></td>');
document.write(' <td width="80"><a id="headerlinks" href="page5.html" title="About Us">About Us</a></td>');
document.write(' </tr>');
document.write(' </table>');
document.write('</td>');
document.write('</tr></table>');
}
</script>
<!-- FotoPlayer Menu Ends -->
<!-- FotoPlayer code starts -->
<div id="flash" align="center">
<script type="text/javascript" language="JavaScript">
var protocol = document.location.protocol;
if (protocol != "file:" && false) window.location.href="index.php";
embedfotoplayer("fotoplayerlite.swf","percent","100.00","100.00","#333333","config.xml","folders.xml","shoppingcart.xml","Y","folder/","",""); </script>
<noscript><br><br><font color="#666666" size="3" face="Arial">Please Enable Javascript in your browser and visit again. <a href="html.php" target="_self"> Click here </a> to view the album in plain HTML version </font></noscript>
<script type="text/javascript" language="JavaScript"> if (!MM_FlashCanPlay) document.write('<br><br><font color="#666666" size="3" face="Arial">Flash plugin not detected. <a href="http://www.macromedia.com/go/getflashplayer">Click here <\/a> to install the free Flash plugin and visit again. ');</script>
<script type="text/javascript" language="JavaScript"> if (false) document.write('<a href="html.php" target="_self"> Click here <\/a> to view the album in plain HTML version <\/font>');</script>
<script type="text/javascript" language="JavaScript"> if (checkflashdisabled() == true) document.write('<br><br><font color="#666666" size="3" face="Arial">Flash plugin disabled. Enable Flash plugin/add-ons in IE and visit again. <a href="html.php" target="_self"> Click here <\/a> to view the album in plain HTML version <\/font>');</script>
</div>
<!-- FotoPlayer code ends -->
<!-- FotoPlayer code starts -->
<div id="footer" align="center">
<!-- Note: Only licensed users are allowed to remove the below footer. -->
Album was generated using <a href="http://www.fotoplayer.com/" target="_blank">FotoPlayer for Lightroom v1.0</a> free trial version.
<script type="text/javascript">
var writeRSS = false; if (writeRSS) document.write(" <a href='plugins/rss.php' target='_blank'><img alt='Album RSS Feed' src='plugins/res/rss.gif' border='0'></a>");
</script>
</div>
<!-- FotoPlayer code ends -->
<!-- FotoPlayer code starts -->
<script type="text/javascript">
if (false) {
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='plugins/" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
if (false) {
var pageTracker = _gat._getTracker("UA-000000-0");
pageTracker._trackPageview();
}
</script>
<!-- FotoPlayer code ends -->
</body>
</html>
-----------------------------------------------------------------------