登录脚本似乎有效,但仅限成员的页面不允许访问。 [英] Login script seems to work, but members-only pages won't allow access.

查看:66
本文介绍了登录脚本似乎有效,但仅限成员的页面不允许访问。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用于工作的登录脚本,但由于某种原因它现在不起作用!


你们可以在这里测试一下:

http://lamezz.com/_NEW/login.php


USER:test

PASS:test


它使用bin文件夹中的脚本和成员页面有一个PHP代码,告诉脚本给用户访问权限。


我会透露你们想看的任何脚本!


请帮助!

I have a login script that use to work, but for some reason it does not work now!

You guys can test it here:

http://lamezz.com/_NEW/login.php

USER: test
PASS: test

it uses a script that is in the bin folder, and the members pages has a PHP code in it to tell the script to give access to the user.

I will reveal any script you guys wanna see!

Pleas Help!

推荐答案

嗨Lamez。欢迎来到The Scripts!


这看起来像你的登录脚本有问题。我猜你的用户信息没有以你想要的方式存储。


你可以发布登录脚本吗?可能是在成员区域检查脚本的部分如果您已登录?
Hi Lamez. Welcome to The Scripts!

This looks like a problem with your login script. I would guess your user information is not being stored the way you want it to.

Could you post the login script?, and maybe the part of the script in the Members area that checks if you are logged in?


Heya,lamez。


更改主题标题以更好地描述问题(您是否知道标题的线程?不按照发布指南实际获得FEWER回复?)。


确保session_start()位于每个页面的顶部。
Heya, lamez.

Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).

Make sure session_start() is at the top of each page.


对不起伙计们,我是新人,我需要一些帮助!


这是我的登录表格

Sorry guys, I am new and I need some help!

here is my login form

展开 | 选择 | Wrap | 行号


这篇关于登录脚本似乎有效,但仅限成员的页面不允许访问。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆