* 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
?=, which is identical to
? echo. Use of this shortcut requires short_open_tag to be on.
- Original Message -
From: Cody Phanekham mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
To: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 9:32 AM
Subject: RE: [PHP] How to open
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
Hello
some more changes
param name=movie value=?php echo $value ?
embed src=?php echo $value ?/embed
-murugesan
- Original Message -
From: Cody Phanekham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 9:32 AM
Subject: RE: [PHP] How to open
9 matches
Mail list logo