* Thus wrote Cody Phanekham ([EMAIL PROTECTED]):
Murugesan,
main.php:
?
session_name(mysessionname);
session_start();
if (!$s_authed) // check access
{
// user hasnt been authorised, therefore redirect to login page
This is exactly why register globals is turned off by default now.
PROTECTED]
Subject: Re: [PHP] How to open random Flash page with hyperlink?
* Thus wrote Cody Phanekham ([EMAIL PROTECTED]):
Murugesan,
main.php:
?
session_name(mysessionname);
session_start();
if (!$s_authed) // check access
{
// user hasnt been authorised, therefore redirect
PROTECTED]
Subject: Re: [PHP] How to open random Flash page with hyperlink?
Thanks for the message.
Can you please tell me how to do session authentication?.
-murugesan
*
This e-mail, including any
Thanks for the information.
In the code you provided
if ((!$passwd) || (!$username)) // user hasnt logged in
{
.
Actually I have implemented this in a separate page.
That is upon sign up of the form in the index page
I call a new page auth.php
In that file
I have done this
employee id = $empid and the password you typed was $pwd;
?
-Original Message-
From: murugesan [mailto:[EMAIL PROTECTED]
Sent: Monday, 25 August 2003 15:18
To: Cody Phanekham; [EMAIL PROTECTED]
Subject: Re: [PHP] How to open random Flash page with hyperlink?
Thanks for the information
Really thanks for the support. It worked well.
-regards,
Murugesan
- Original Message -
From: Cody Phanekham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 25, 2003 11:06 AM
Subject: RE: [PHP] How to open random Flash page with hyperlink?
Murugesan,
I'll assume your
Thanks for the message.
Can you please tell me how to do session authentication?.
-murugesan
- Original Message -
From: Cody Phanekham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 10:05 AM
Subject: FW: [PHP] How to open random Flash page with hyperlink
Hey everyone,
I'm new to using PHP so please bear with me.
I'm trying to create a hyperlink that will open a random Flash page so that
users will see a different flash module each time. Here is some of the code
that I wrote but I'm not sure if it'll work since I'm not very good at
coding. Oh
Phillip,
pretty close. only a few things that are missing/incorrect.
my corrections are marked by a #
-Original Message-
From: Phillip Pang [mailto:[EMAIL PROTECTED]
// random_menu.html
head
?php
$i = rand(0,3);
?
/head
body
a href = www.x.com/random.php?i=$ix/a
# you need
random Flash page with hyperlink?
Phillip,
pretty close. only a few things that are missing/incorrect.
my corrections are marked by a #
-Original Message-
From: Phillip Pang [mailto:[EMAIL PROTECTED]
// random_menu.html
head
?php
$i = rand(0,3);
?
/head
body
a href
: RE: [PHP] How to open random Flash page with hyperlink?
Phillip,
pretty close. only a few things that are missing/incorrect.
my corrections are marked by a #
-Original Message-
From: Phillip Pang [mailto:[EMAIL PROTECTED]
// random_menu.html
head
?php
$i = rand(0,3);
?
/head
11 matches
Mail list logo