php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18059 Strange output of contents of JS-script
Submitted: 2002-06-29 05:32 UTC Modified: 2002-06-29 10:57 UTC
From: vitya at viking-motors dot com dot ua Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.1.2 OS: FreeBSD 4.5-RC
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vitya at viking-motors dot com dot ua
New email:
PHP Version: OS:

 

 [2002-06-29 05:32 UTC] vitya at viking-motors dot com dot ua
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()                                    ;
???

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-29 05:41 UTC] vitya at viking-motors dot com dot ua
My email: vitya@viking-motors.com.ua
 [2002-06-29 10:57 UTC] sniper@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 22:01:28 2024 UTC