我有两页--一个是登陆页,另一个是通过iframe拉到登陆页的页面。我从登陆页面开始会话,并给$_SESSION分配一个值,我希望这个值被拉到iframe。<?php $_SESSION['vendorname'] = $this->getVendorId(); // store session vendor na
我有一个有登陆页面的网站,在页面底部我有一个表单。我所要做的就是显示一条验证消息,并再次将用户重定向到表单,这样他就可以查看消息而不必滚动。redirect as soon as the validation finishes
header('Location: http://localhost/myweb/index.phpphp echo htmlspecialchars($_SERVER["PHP_SELF"]);