更新时间:2023-12-03 20:18:16
Hi Slaxer,
代码块展开 | 选择 | Wrap | 行号
如果登录成功,我怎么能出现一个弹出窗口并自动重定向到另一个页面(例如index.php)
hm,如果你重定向,弹出窗口的重点是什么?
PS。不要让DreamWeaver制作你的PHP代码,这总是让人感觉很痛苦。如果你想要免受SQL注入的影响,***使用Prepared Statements。
Dormilich
你好伙伴,
我已经从网上检索了我的代码。这只是一个学校的工作,我仍然是一个新手。任何提示都将不胜感激。
你好computerfox,
你能写出代码应该如何吗?我试过但它还没有工作。
感谢两者;)
和平,
Slaxer13Hi guys, i am currently doing a php app for school and the question is this, how can i make a popup window appear if the login is successful and redirect to another page (for example index.php) automatically in, lets say, 5 secs?
My login page as the following code (i am portuguese so some things are in PT but just say and i will translate),Expand|Select|Wrap|Line NumbersHi Slaxer,
In the code blockExpand|Select|Wrap|Line Numbers
how can i make a popup window appear if the login is successful and redirect to another page (for example index.php) automaticallyhm, what is the point of a popup if you redirect anyways?
PS. Don?t let DreamWeaver make your PHP code, that?s always a sore sight. better use Prepared Statements if you want to be protected from SQL Injection.
Dormilich
Hi mate,
The code i have has been retrieved from the web. This is just a school work and i''m still a newbie at this. Any tips will be much appreciated.
Hi computerfox,
Could you write how the code should be? i tried but it hasn''t been working.
Thanks to both ;)
Peace,
Slaxer13
登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆