I have Apache server installed.
I have this on the mainpage:
<script language="JavaScript">
<!--
function openWin( windowURL, windowName, windowFeatures ) {
return window.open( windowURL, windowName, windowFeatures ) ;
}
// -->
</script>
<form action="sdf" name="to" id="to">
e-mail:
<input type="text" name="email">
<a href="java script: newWindow = openWin( './emails.php', 'foo', 'width=300,height=300,toolbar=0,location=0,directo
ries=0,status=1,menuBar=0,scrollBars=0,resizable=0
' ); newWindow.focus()">
Open</a>
</form>
and this on the popup:
<form action="sdf" name="from" id="from">
<select name="emails" size="8" onChange="java script:window.opener.document.forms.to.email.value = document.forms.from.emails.value; window.close();">
<option value="name1@domain.com">name1@domain.com</option>
<option value="name2@domain.com">name2@domain.com</option>
<option value="name3@domain.com">name3@domain.com</option>
</select>
</form>
I get this error when click on the link:
Forbidden
You don't have permission to access /test/java script: newWindow = openWin( './emails.php', 'foo', 'width=300,height=300,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=0,resizable=0' ); newWindow.focus() on this server.
Please help me!