Heim >Backend-Entwicklung >PHP-Tutorial >thinkphp rediract 怎么加target ='_top'参数

thinkphp rediract 怎么加target ='_top'参数

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:44:121300Durchsuche

thinkphp  rediract  怎么加target ='_top'参数。。


回复讨论(解决方案)

Action::rediract 实现页面的重定向
实际执行的是 header 函数

target ='_top' 是 HTML A 和 FORM 标记的属性,用于指定跳转的目标对象

两者是毫不相关的

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn