开发者

PHP code fails in main server

开发者 https://www.devze.com 2023-02-17 07:33 出处:网络
I have integrated a Pop up window(new browser window) control on click of a link. It works really well on local server(PHP 5.3) but not in the main server(PHP 5.1)

I have integrated a Pop up window(new browser window) control on click of a link. It works really well on local server(PHP 5.3) but not in the main server(PHP 5.1)

H开发者_JS百科ere's the Javascript code to pop up window

window.open ('http://www.xyzsite.com/edo/hints.php?Para1='+hin, '', 'width=250,height=100');   

Is it because of difference in PHP version or any other configuration difference I should look for? Please give me ur inputs.


Javascript runs on the client computer. Make sure you are running the same javascript by Ctrl+F5 to ensure non-cached javascript. The server should have nothing to do with this.


GET parameters are separated with & character, not ,. Nothing else in code you show is related to PHP

0

精彩评论

暂无评论...
验证码 换一张
取 消