触发PHP脚本,自动打开页面,这样怎么打不开页面?

WBOY
Release: 2016-06-20 12:30:05
Original
886 people have browsed it

这是自动采集的, 这个PHP能够执行,但怎么打不开页面
写的不对吗?

/*
        计划任务名称:自动采集
*/
if(!defined('InEmpireCMS'))
{
        exit();


        echo '';
?>


回复讨论(解决方案)

帝国cms的喔,你看清楚点那个iframe,style设置了高为0……你自己重新设置宽和高啊

就你这段代码,是什么都不会显示的
因为常量 InEmpireCMS 并没有定义

echo "<script>window.open('http://1.php?id=')</script>";
?>

回三楼,你这代码简单易用,还有个问题,窗口越开越多,完事怎么能自动关闭窗口呢?  

或在同一窗口执行

告诉我啊,,,,

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!