On Sun, 2004-09-05 at 17:32, Dre wrote:
> I really did
> and it behaves the same
>
> I tried isset() also but there is no good it still does not work !!!
"Does not work" <-- explain this part.
add error_reporting(E_ALL); as the first line of code, in addition to
all the other suggestions. Check
--- Dre <[EMAIL PROTECTED]> wrote:
> $username = trim(addslashes($_POST['user_name']));
> $pass = trim(addslashes($_POST['password']));
I recommend using mysql_escape_string() or mysql_real_escape_string()
instead of addslashes().
> if((empty($_POST['user_name'])) || (empty($_POST['password'])))
On Sunday 05 September 2004 22:24, Dre wrote:
> $_SESSION['uname'] = $username;
session_write_close() before you redirect.
> header('Location: /members/main.php');
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Inter
thanks
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Dre" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I really did
> > and it behaves the same
> >
> > I tried isset() also but there is no good it still does not work !!!
> >
> >
> > "Afan Pasal
it does not actually exist in the real code
I just added it to show that there are 2 equal signs in there
"Andre Dubuc" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> In your code:
>
> if($_SESSION['uname'] = = "")
> ^
>
> Get rid of tha
"Dre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I really did
> and it behaves the same
>
> I tried isset() also but there is no good it still does not work !!!
>
>
> "Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Try use
> >
> > if(empty($_SESSI
Dre wrote:
according to what little i know this should give you a parse error.
if($_SESSION['uname'] = = "")
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean
Hi,
In your code:
if($_SESSION['uname'] = = "")
^
Get rid of that extra space bewteen the ==
Hth, Andre
On Sunday 05 September 2004 11:23 am, Dre wrote:
> I really did
> and it behaves the same
>
> I tried isset() also but there is no good it still does
I really did
and it behaves the same
I tried isset() also but there is no good it still does not work !!!
"Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Try use
>
> if(empty($_SESSION['uname'])
>
> instead
>
> if($_SESSION['uname'] = = "")
>
>
> Afan
>
>
>
> Dre wro
I really did
and it behaves the same
I tried isset() also but there is no good it still does not work !!!
"Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Try use
>
> if(empty($_SESSION['uname'])
>
> instead
>
> if($_SESSION['uname'] = = "")
>
>
> Afan
>
>
>
> Dre wro
Try use
if(empty($_SESSION['uname'])
instead
if($_SESSION['uname'] = = "")
Afan
Dre wrote:
Hi ..
I'm still working on my members login script.
I'm using a simple username/password login form that calls the following
login script
//=
if((empty
11 matches
Mail list logo