Re: [PHP] How to open random Flash page with hyperlink?

2003-08-26 Thread Curt Zirzow
* 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.

RE: [PHP] How to open random Flash page with hyperlink?

2003-08-26 Thread Cody Phanekham
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

RE: [PHP] How to open random Flash page with hyperlink?

2003-08-25 Thread Cody Phanekham
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

Re: [PHP] How to open random Flash page with hyperlink?

2003-08-25 Thread murugesan
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

RE: [PHP] How to open random Flash page with hyperlink?

2003-08-25 Thread Cody Phanekham
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

Re: [PHP] How to open random Flash page with hyperlink?

2003-08-25 Thread murugesan
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

Re: [PHP] How to open random Flash page with hyperlink?

2003-08-22 Thread murugesan
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

[PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread Phillip Pang
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

RE: [PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread Cody Phanekham
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

Re: [PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread murugesan
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

FW: [PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread Cody Phanekham
: 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