Thanks,
Heres what I've tried to do. Maybe you can help.
I have
<html>
<head>
</head>
<body>
php if not submitted
<table>
</table>
</body>
</html>
exit();
}
then php code that is reached if submitted
php verify login ....
if valid user{
//in here I want to close the popup login window and redirect the opener to home.php
}
else{
<table>
</table>
</body>
</html>
exit();
}
What I am trying to do is redirect the opening window to the users homepage if they are a valid user.
I have tried multiple solutions such as
<script language="javascript">
<window.opener.location="home.php";
</script>
but I get error: 'window.opener' is not an object
If you can help I would really appreciate it.
--SL