open new window with php code after form submits results

后端 未结 4 566
梦毁少年i
梦毁少年i 2021-01-06 14:52

here is the script that i been working on , it is supposed to integrate user and pass when opened



        
4条回答
  •  感动是毒
    2021-01-06 15:40

    Change your code to this

    window.open('https://secure.brosix.com/webclient/?    nid=4510&user=$name&pass=$pass&hideparams=1', 'width=710,height=555,left=160,top=170')";
    
    echo $link;
    
    ?>
    

    Additional Note

    You should consider using fancybox which can load webpages as a whole in a popup window using iframes. There are other options as well feel free to explore!

提交回复
热议问题