|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-28 15:59 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 18:00:01 2025 UTC |
Description: ------------ in php.ini file When trans_sid=1 The url rewriter doesn't recognize the javascript function windows.open(); if for example a popup function such as : pop=open("somepage.php","window","toolbar=no,width=800,height=800");to transfere the session id, one has to add it manually like this: pop=open("somepage.php?PHPSESSID=<?=session_id()>","window","toolbar=no,width=800,height=800");} Yes, there is an option in php.ini file named "url_rewriter.tags" and as default it looks like this: url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" Unfortunately, there is nothing in documentations about how to add the javascript function "open" into it. I have tried many keywords such as open, windows.open .... and none helped :( It is not a bug this is only something missing in PHP 5.0.1. This option was automatically working on versions ...3.32 I belive but please don't take me by words. I was sure that this function works so I have never suspected it. I have wasted 2 weeks to find it out. This report is similar but bot identical to the bug report #22111: URL rewriter and Javascript but function "windows.open" was not mentioned.