且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

window.open

更新时间:2022-10-19 19:13:40

_POST [....]如果我要使用HTML表单提交?

在mysql中设置cookie或存储数据并不是那么优雅的解决方案。


有人可以给我提示吗?


Lajos


只需在help.php之后添加一个查询字符串:


... onclick = \" help = window.open(''help.php?a = 10& b = 20& c = 4 0'',''帮助'' ,


''innerHeight = 400,innerWidth = 400,screenX = 555,屏幕Y = 250,依赖=是,bar = Ye

s'' );

...


希望它有所帮助

亨利


" ; Lajos Kuljo <ク*** @ freemail.hu> $écritdansle message de

news:o0 ****************** @ nntpserver.swip.net ...
如果我用
打开一个php页面
... onclick = \" help = window.open(''help.php'',''帮助'',

''innerHeight = 400,innerWidth = 400,screenX = 555,屏幕Y = 250,依赖=是,bar = Ye

s''); ...

有没有办法将数据发送到调用页面(help.php)?如果我要使用HTML表单提交,那么


_POST [....]?
在mysql中设置cookie或存储数据并不是那么优雅解决方案。

有人可以给我提示吗?

Lajos




Hi,
if I opened a php-page using

... onclick=\"help=window.open(''help.php'', ''Help'',
''innerHeight=400,innerWidth=400,screenX=555,screen Y=250,dependent=Yes,bar=Yes'');
....

is there a way to send data to the invoked page (help.php)? Something
like $_POST[....] if I would use a HTML form-submit?
Setting cookies or store data in mysql are not so very elegant solutions.

Can somebody give me hint?

Lajos

_POST[....] if I would use a HTML form-submit?
Setting cookies or store data in mysql are not so very elegant solutions.

Can somebody give me hint?

Lajos


Just add a query string after help.php:

... onclick=\"help=window.open(''help.php?a=10&b=20&c=4 0'', ''Help'',

''innerHeight=400,innerWidth=400,screenX=555,screen Y=250,dependent=Yes,bar=Ye
s'');
...

Hope it helps
Henri

"Lajos Kuljo" <ku***@freemail.hu> a écrit dans le message de
news:o0******************@nntpserver.swip.net...
Hi,
if I opened a php-page using

... onclick=\"help=window.open(''help.php'', ''Help'',
''innerHeight=400,innerWidth=400,screenX=555,screen Y=250,dependent=Yes,bar=Ye
s''); ...

is there a way to send data to the invoked page (help.php)? Something
like


_POST[....] if I would use a HTML form-submit?
Setting cookies or store data in mysql are not so very elegant solutions.

Can somebody give me hint?

Lajos