Jump to content

can some one help me lowerize this script functions?


sarah_1988

Recommended Posts

i had this login script,i lowerized its functions a little bit

but cant do more it too complicated for a newb like me

 

can some one help me delete the activation throu email codes in these files,and those extra fields on registration form and their DB's fields for me plz?

all i want from this script is that i want to login wit 3 different user access

 

[attachment deleted by admin]

Link to comment
Share on other sites

I really don't understand what you're trying to do, and considering you posted in the PHP Regex section, it's even more confusing what you want.

 

54k and 63k are pretty big files, you're going to have to isolate some code.

Link to comment
Share on other sites

where should i post them?(sry im newb)

and yes i want some one who knows about php to remove unnecessary codes from them

i just want a login page wit 3 different access,admin/users/guest to a 3 main pages if posible i really need this for university project

 

If you want someone to do this for you then you should post in the Freelance Section (I'll move to PHP Coding help for now).  If you want specific help then you must provide specific questions and code.  I doubt anyone is willing to sort through all of that.

Link to comment
Share on other sites

*sad face

i hope some one want to help  :(

 

i just want a login page wit 3 different access to 3 different indexes

and a registration page too

DB tabels:  firstname/lastname/username/password/ACCESS

access needs to be an int number like 3for admin/2for users/and 1 for guests

Link to comment
Share on other sites

Mean is allowing people to do things they shouldn't.

Nice is saying Joe had no integrity.

 

Have you set database table yet?

Have you set your registration form yet?

Have you set up your log in form yet?

The last two are VERY basic HTML.

Processing them is not as easy, BUT NOT difficult.

Have you googled "php user log in tutorial"? (hint: http://www.google.com/#hl=en&sugexp=ldymls&xhr=t&q=php+user+log+in+tutorial&cp=24&pf=p&sclient=psy&aq=f&aqi=&aql=&oq=php+user+log+in+tutorial&pbx=1&fp=8ce0e008a607e93d)

 

 

Link to comment
Share on other sites

i know html

i can make login page and registration page and make my data base

my problem is the php code that will make users have a access number

each number goes to a diffrent index page after login

like guest goes to index1 etcetc.

and to answer ur question

i googled evrything came in my mind include wat u said

BUT they wer to pro coded and have alot of extra futures

i just want the future that have admin/guest/users go to diff pages after login

Link to comment
Share on other sites

it doesnt have to be a good project

and i dont call it a project,just need to show my teacher how it works ,>>>diffrent access

and then ill pass my exam

i just want it REALLY simple

a simple login page i dont even need to use md5 coder to code my password for this(not even the php code that pervent sql injecsions)

registration form is sooo simple too

fname/Lname/username/password/ register button

i just need 3 user into my DB wit 3 diffrent access code tables(or anything like this)

the only proble is: wit php how can i guide each of these 3users to 3 diffrent pages after each one login

 

Link to comment
Share on other sites

Like previously mentioned, no one is going to do your homework for you, which is exactly what you're asking for. We want to help you, after all, that's why we are here.  I doubt you'll find the answer elsewhere but you could probably find a tutorial to show and teach you how to build what you need. Good luck...

Link to comment
Share on other sites

my my sooooooooooo polite and nice, Sure hope she isn't studying to be a doctor

just a tip:

Example ne page that decides what menu is shown depending upon user lever (1=guest, 2 = registered use, 3 = admin)...

<?PHP
session_start();
$user_level = $_SESSION['user_level'];
if($user_level == 1) {
?>
View pictures
<?
}
if($user_level == 2) {
?>
View pictures
Add pictures
<?
}
if($user_level == 3) {
?>
View pictures
Add pictures
Delete pictures
Add users
Edit users
Delete users
<?
}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.