Scott Fletcher wrote:
Hi!
I wonder is is it possible to have an http header that would stimluate
headers don't stimulate. They are simple messages, a bit of text
with no real meaning until the browser/server/whatever gives it meaning
locally to itself.
files/folders upload via dragging over
I have written lot of http header scripts myself, so I'm familiar with what
they are used for.
Scott
M. Sokolewicz [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher wrote:
Hi!
I wonder is is it possible to have an http header that would
stimluate
headers don't
Gabe [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is the following code the best way to redirect someone to a different
page using PHP?
?php
header(Location: http://www.yahoo.com;);
?
From personal experience I can recommend putting exit; behind a header()
redirect to
or you could try something like :
scriptwindow.location.href='http://www.slashdot.org'/script
and / or
?php
echo scriptwindow.location.href='http://www.slashdot.org'/script;
?
Brandon Holtsclaw
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Brandon Holtsclaw wrote:
Thanks for the ideas. The header option will work, I was just curious.
or you could try something like :
scriptwindow.location.href='http://www.slashdot.org'/script
and / or
?php
echo scriptwindow.location.href='http://www.slashdot.org'/script;
?
Brandon Holtsclaw
Which of them? A webserver sents quite many variables, and you can access
almost everyone of them with PHP. So perhaps giving some specifics?
--
Richard,
oblivion creations
http://oblivion.lunamorena.net
[EMAIL PROTECTED]
+4+ (0) 736 849 531 for sure contact..
Marcbey [EMAIL
On Monday 30 July 2001 03:10, Ben Bleything wrote:
I understand that the POST operation stores the data from the form in
the message headers... I just need to know which headers, so I can use
that information to write my own... I basically want to make it seem as
if the $failure var was
The easiest solution is to create the failure variable as a session
variable.
-Stewart
-Original Message-
From: Matt Rogers [mailto:[EMAIL PROTECTED]]
Sent: 30 July 2001 04:00
To: [EMAIL PROTECTED]
Subject: [PHP] Re: HTTP header question.
I don't know how to solve your problem, but I
:[EMAIL PROTECTED]]
Sent: Sunday, July 29, 2001 11:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: HTTP header question.
I don't know how to solve your problem, but I do know what you are talking
about.. People just aren't understanding.
All he wants is if you go to login.php in your browser
Some of the original message:
still don't see the need to pass as a header...
you avoid the http://his.website.com/rams/login.php?failure=true as you
just get
login.php each time as far as the displayed URL.
my opinion, let the scripting handle all the logic and ease off the header
below
Some of the original message:
still don't see the need to pass as a header...
you avoid the http://his.website.com/rams/login.php?failure=true as you
just get
login.php each time as far as the displayed URL.
my opinion, let the scripting handle all the logic and ease off the header
-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 8:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: HTTP header question.
below
Some of the original message:
still don't see the need to pass as a header...
you avoid the http://his.website.com/rams
Ahh, and a bit of clarification before you read the code, the page posts
to itself =
Ben
-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 8:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: HTTP header question.
below
Some of the original message
Ben Bleything [EMAIL PROTECTED] wrote in message
01c11891$447271c0$0201a8c0@allegro">news:01c11891$447271c0$0201a8c0@allegro...
Hey all,
I want to craft a header such that it seems to the page that data has
been POST'ed to it... Here's the situation: I'm writing a login page to
my
: login.php?failure=true) ) does not
satisfy my requirement.
So... anybody else?
Ben
-Original Message-
From: Jacques [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 29, 2001 5:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: HTTP header question.
Ben Bleything [EMAIL PROTECTED] wrote in message
Quoting Ben Bleything [EMAIL PROTECTED]:
I'm fully aware of that. The issue is not the refreshing (that works
fine)...
Here's a little more detail:
if(!$login)
{
if($failure)
// complain
// show the form
}
else
{
if(user_is_good)
What I'm looking for is a way to do this such that the user does not see
anything more than http://host.name.here/rams/login.php in their address
bar when it failed...
Doesn't using a form with its method set to post send the variables through
headers? If that's the case, couldn't you
to the page.
I'm having NO luck whatsoever with the HTTP RFC's... too thick =
Thanks,
Ben
-Original Message-
From: Philip Murray [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 29, 2001 6:06 PM
To: Ben Bleything
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: HTTP header question.
Quoting
I don't know how to solve your problem, but I do know what you are talking
about.. People just aren't understanding.
All he wants is if you go to login.php in your browser, the Location will
show:
http://his.website.com/rams/login.php
Okay? Got it? NOW... If you attempt to log in and
It's called HTTP_REFERER
PHP document:
HTTP_REFERER
The address of the page (if any) which referred the browser to the current
page. This is set by the user's browser; not all browsers will set this.
Jack [EMAIL PROTECTED] wrote in message
05c201c1098e$ee947fc0$[EMAIL
Hi,
Dear all folks,
I want to get the url of the previous page that my visitor came from. Is
this correct to use http_header? Or what function that will help me do this
job?
the variable $HTTP_REFERER will do the job but not all browsers support it.
Manual - Variables - predefined variables for
21 matches
Mail list logo