[PHP] Re: Redirecting to a parent page

2007-06-13 Thread Man-wai Chang
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.

[PHP] Re: Redirecting in a PHP script

2007-03-12 Thread Haydar Tuna
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

[PHP] Re: Redirecting a user

2004-07-01 Thread Torsten Roehr
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

[PHP] Re: Redirecting a user

2004-07-01 Thread John Taylor-Johnston
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

[PHP] Re: redirecting a domain

2003-03-27 Thread Dan
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

Re: [PHP] Re: redirecting a domain

2003-03-27 Thread Jason Sheets
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]

Re: [PHP] Re: redirecting a domain

2003-03-27 Thread Jason Wong
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

[PHP] Re: Redirecting to PHP

2003-02-06 Thread Simon
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

[PHP] Re: redirecting after login

2002-07-23 Thread Richard Lynch
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

Re: [PHP] Re: Redirecting

2002-04-27 Thread The_RadiX
: 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

Re: [PHP] Re: Redirecting

2002-04-27 Thread Jason Wong
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

Re: [PHP] Re: Redirecting

2002-04-27 Thread Liam MacKenzie
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

[PHP] Re: Redirecting

2002-04-26 Thread Julio Nobrega
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,

Re: [PHP] Re: Redirecting

2002-04-26 Thread Jason Wong
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

[PHP] Re: Redirecting to a URL

2002-01-08 Thread Gianni Del Papa
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

[PHP] Re: redirecting the browser

2001-10-24 Thread John A. Grant
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

[PHP] Re: Redirecting to a new php file

2001-10-24 Thread Mike Frazer
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