From: Richie <dugganr@student.cs.ucc.ie>
To: pgsql-php@postgresql.org
Subject: Redirecting
Date: Wed, 28 Feb 2001 15:00:50 +0000 (GMT)
Message-ID: <Pine.OSF.3.96.1010228144823.2142A-100000@student.cs.ucc.ie> (raw)
Hi
I am using PHP, PostgreSQL and the Apache web server. I have a login.php
script working which checks if the login is correct. If so it will
redirect you the main page, which is search.html like so :
if ( $feedback == ' SUCCESS - You Are Now Logged In ')
{
echo '<FONT COLOR="BLUE"><H1>You will now be redirected to the
Auctioneer Main Page
printf("<META HTTP-EQUIV=\"REFRESH\" CONTENT =
\"5; URL=http://level424.ucc.ie/project/search.html\">");
exit;
}....
This works grand but my problem is that I am using frames and I want the
value of TWO frames to change once the user has been confirmed, the "main"
frame which which will contain search.html and the "options" frame which
will contain userOptions.html. Here is what I currently have:
if (everything OK)
{
printf("<A
HREF=\"http://level424.ucc.ie/project/userOptions.html\"
onClick=\"window.self.location =
'http://level424.ucc.ie/project/search.html';\"
target=\"options\">Go to main page</A>");
exit;
}...
Instead this places a link which the user must click in order for the 2
pages to be loaded simultaneously. I think that it would be much better if
the 2 pages loaded up simultaneously once the user has been confirmed
WITHOUT THE USER HAVING TO CLICK A LINK.
Can anyone tell me is this possible?
Thanks a lot in advance!
Richie
=========================================================
Richie Duggan
Computer Science IV
University College Cork
Eamil : dugganr@student.cs.ucc.ie richie_dug@yahoo.com
Homepage : http://student.cs.ucc.ie/01/dugganr/index.html
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: dugganr@student.cs.ucc.ie
Subject: Re: Redirecting
In-Reply-To: <Pine.OSF.3.96.1010228144823.2142A-100000@student.cs.ucc.ie>
References: <Pine.OSF.3.96.1010228144823.2142A-100000@student.cs.ucc.ie>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox