Im using this instruction
header( refresh:'3'; url=./file3.php);
But I got the error that in http://localhost/file3.php does not exists any
page
What's the absolute path to file3.php? If it's in DocumentRoot, then use
/file3.php (no dot).
--
@~@ Might, Courage, Vision, SINCERITY.
Hello,
In my many projects, I have used PHP header function for redirecting
any URL so you can use like a following command. I haven't got any problem
with this command until now :)
header(Location: http://www.domain.com;);
--
Haydar TUNA
Republic Of Turkey - Ministry of National
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Please could someone tell me how I can redirect a user to the page they
came
from including any query strings attached to the URL?
header('location: ' . $_SERVER['REQUEST_URI']); exit;
Regards,
Torsten Roehr
--
PHP General
Apache can do this too, right?
I'm sure I saw a bit of code floating about?
Torsten Roehr wrote:
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Please could someone tell me how I can redirect a user to the page they
came
from including any query strings attached
On Fri, 14 Jul 2000 22:26:05 -0400, [EMAIL PROTECTED] (Unknown
Sender) wrote:
I have an apache question and I have NO idea where to post it. Is there
a newsgroup or mailing list simply for apache?
I have multipal domain names: domain.net domain.org. I would like to
configure apache such that
Rather than redirecting to a seperate HTML file you can also use the PHP
Header command, something like:
?php
if (strstr($_SERVER['HTTP_HOST'], 'domain.org')) {
header('Location: http://www.domain.net');
exit;
}
?
Dan wrote:
On Fri, 14 Jul 2000 22:26:05 -0400, [EMAIL PROTECTED]
On Thursday 27 March 2003 07:25, Dan wrote:
On Fri, 14 Jul 2000 22:26:05 -0400, [EMAIL PROTECTED] (Unknown
Sender) wrote:
I have an apache question and I have NO idea where to post it. Is there
a newsgroup or mailing list simply for apache?
I have multipal domain names: domain.net
Alberto Brea wrote:
Dear list,
My home page is index.html, that doesn't run PHP.
I also have index.php which shows the same content with PHP.
Can I do to automatically redirect a visitor from index.html to index.php?
TIA
Alberto
maybe you should just delete index.html, and index.php will be
I've got the login part working perfectly, and I can turn the URL into a
link on the page, but I'd rather have the script just automatically forward
the person to the page they're login gives them access to.
I've tried using header(), but since the redirection takes place about
mid-script, it
: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 3:14 PM
Subject: Re: [PHP] Re: Redirecting
On Saturday 27 April 2002 12:00, Julio Nobrega wrote:
Send head()ers before any html output (including spaces or newlines
before ?php)
IOW RTFM!
--
Jason
On Monday 22 January 2001 14:31, The_RadiX wrote:
IOW ??
what's this abbrev?
in other words
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
/*
I hold it, that a little
RTFM?
what's this abbrev?
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, April 27, 2002 4:55 PM
Subject: Re: [PHP] Re: Redirecting
On Monday 22 January 2001 14:31, The_RadiX wrote:
IOW ??
what's this abbrev?
in other words
Send head()ers before any html output (including spaces or newlines before
?php)
--
Julio Nobrega.
Tô chegando:
http://www.inerciasensorial.com.br
Liam Mackenzie [EMAIL PROTECTED] wrote in message
006801c1ed9e$1fddf4a0$0400a8c0@enigma">news:006801c1ed9e$1fddf4a0$0400a8c0@enigma...
Hey all,
On Saturday 27 April 2002 12:00, Julio Nobrega wrote:
Send head()ers before any html output (including spaces or newlines
before ?php)
IOW RTFM!
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet
Here is
$location = http://www.php.net/;;
header (Location: $location);
Using this istruction take a look if header was already sent in previous
code of your page ...
Have fun :)
Gianni
Robert Maccombe wrote:
Hi, how do I redirect to a different URL, e.g. as a result of an IF
Ozgur Demirtas [EMAIL PROTECTED] wrote in message
001a01c15c57$ce6fad20$ea0d198a@Jackhammer">news:001a01c15c57$ce6fad20$ea0d198a@Jackhammer...
Hi all,
I have a PHP script and at one point of the script I am trying to redirect
my browser to a certaion page. I can't seem to find an easy way of
Use the header() function in conjunction with the Location HTTP header:
header(Location: http://host.domain.tld/path/to/file.php;);
This MUST be sent to the browser before ANY other output. You can execute
as many commands as you like but this must come before any output (and
before the html
17 matches
Mail list logo