Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 21, 2024, 11:23:13 PM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Linux in General
»
Linux Development & Programming
»
login
« previous
next »
Print
Pages: [
1
]
Author
Topic: login (Read 9682 times)
carobee
Linux Noob !
Posts: 22
login
«
on:
June 12, 2007, 12:05:17 PM »
hi
i have writtem a login script which has
1) a login page consisting of username and password
after the username nad password is validated the control should be taken to an index page having some options.
i am facing problem to take control to the index page from login page.after all the things are valiadated how do i take the control to the next page.i used header( ) function but it was giving an error.
and also i wanted to test the case sensitivity of the username.
can anyone help?
Logged
carobee
Linux Noob !
Posts: 22
Re: login
«
Reply #1 on:
June 13, 2007, 04:00:22 AM »
the script is written in php.i m workin in php and mySQL
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
Re: login
«
Reply #2 on:
June 15, 2007, 07:38:56 AM »
atm I am not into PHP at all but I am in the process to learn.. !!
btw you can test case sensitivity using regular expression or if not typical one then using some string functions.. !
Logged
carobee
Linux Noob !
Posts: 22
Re: login
«
Reply #3 on:
June 15, 2007, 01:21:33 PM »
Can you tell me of ny source of help to this problem?
thanks
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
Re: login
«
Reply #4 on:
June 15, 2007, 05:13:05 PM »
You can use ereg to test username and it is really powerful,
here is more info:
http://in2.php.net/manual/en/function.ereg.php
About header function giving error.. are you using "exit" after calling header function ?
Logged
carobee
Linux Noob !
Posts: 22
Re: login
«
Reply #5 on:
June 18, 2007, 04:11:59 AM »
no i haven't use exit
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
Re: login
«
Reply #6 on:
June 18, 2007, 06:47:55 AM »
if you are using header() then right after using header use exit..
example:
Code:
[Select]
header(<something something>);
exit;
Logged
carobee
Linux Noob !
Posts: 22
Re: login
«
Reply #7 on:
June 18, 2007, 07:24:39 AM »
i will try out
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Linux in General
»
Linux Development & Programming
»
login