How are you "calling thankyou.php"?
1. are you -redirecting- the user to that file?
--or--
2. are you -including- that file into register.php upon a successful
submission?
The method you're using determines how you best secure thankyou.php
from direct access.
If you're redirecting, then
i have a registration page called register.php if the data entered is
validated correctly i call a file called thankyou.php or else validate.php
presently a user after seeing the url website.com/thankyou.php if they enter
the url directly in the browser as website.com/thankyou.php they can acces
On Fri, November 11, 2005 7:09 pm, Bagus Nugroho wrote:
> I have session code which written WindowsXP and It wotk properly as
> expected, but when I'm used in Windows 2K, it got error as;
> Notice: Undefined index: loginMessage in
> C:\CentralData\forms\mainForm.php on line 65
> I'am used Apache 2.
poblem was solved by add
session_register function
before $_SESSION["blablabla"];
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sat 12-Nov-2005 09:50
To: Bagus Nugroho; php-general@lists.php.net
Subject: Re: [PHP] Question about session
There's no code. You need to put your code in the Email so we can see it...
I have session code which written WindowsXP and It wotk properly as expected,
but when I'm used in Windows 2K, it got error as;
Notice: Undefined index: loginMessage in C:\CentralData\forms\mainForm.php on
line 65
I'am used Apache 2.0 and PHP 5.0.4.
Is php.ini setting on W2K different with XP
If one of the script ( abc.php ) will generate a pop up (browser) windows,
asking for user confirmation,
then, if the user click on the form button inside that pop up windows,
the form data will submit to also ( abc.php ), then, does the session data
share among this two windows?
Zenith
--
PH
7 matches
Mail list logo