Settings | Sign in | Sign up

The author has 2 posts.

【技巧】在PHP中,可以用“if (count($_POST)>0)”来判断表单是否提交

Floor 1 巨大八爪鱼 7/28/12 11:12
rt
Floor 2 巨大八爪鱼 7/28/12 11:13

例如:

if (count($_POST)>0)
{
 die("<script>top.jswindow.close()</script>"); //关闭窗口
}

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.