How can I open a new window from within a PHP script?


#1

I’d like to open this window with no menu bar and no toolbar, and then write to it. Is there some simple way to do this? Tnx.


#2

PHP does not do this (directly), You need to investigate javascript for this.

Something like

<script type="text/javascript">

  window.resizeTo(500, 500);
  window.toolbar.visible=false;
  window.statusbar.visible=false;
  window.personalbar.visible=false;
  window.menubar.visible=false;
  window.locationbar.visible=false;
</script>

You can, however use php code to generate the page.

Good luck


#3

I’m gonna also investigate ncurses in PHP.