|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-29 05:41 UTC] vitya at viking-motors dot com dot ua
[2002-06-29 10:57 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 04:00:01 2025 UTC |
My code: ------------- <script language=javascript> function img_view(url, w, h, t) { imagewin = window.open("","_blank","width="+w+",height="+h); imagewin.document.write('bla-bla-bla'); } </script> -------------- I got this after php's work: --------------- <script language=javascript> function img_view(url, w, h, t) { imagewin = new Object() ; imagewin.document.write('bla-bla-bla'); } </script> -------------------------- So, question is why php changed imagewin = window.open("","_blank","width="+w+",height="+h); with imagewin = new Object() ; ???