PHP is executed at the server-side and thus does not know about clients, browsers or windows of those browsers.

Some options though:

Close button
  echo "<BUTTON onclick=\"window.close();\">CLOSE</BUTTON>";
Close using java script
<script language=JavaScript>
<a class="GoBackButton" href="javascript:window.close();"><div class="GoBackButton">Go Back</div></a>
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.


Your email address will not be published.