Redirection

General discussions related to php

Moderators: macek, egami, gesf

CT
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Nov 01, 2002 7:36 pm
Location: Mississippi, United States
Contact:

Redirection

Postby CT » Sat Nov 02, 2002 3:20 pm

Using PHP, is it possible, (without reading a file) to redirect a user to a different page without ending the php program and staying connected to their browser?

CT
http://CmsTechnologies.ath.cx
Cmstecknologys@hotmail.com

Jay

Postby Jay » Sat Nov 02, 2002 4:41 pm

Staying connected in what sense? A browser can only read one file at a time, and then it ends the connection. You could try using a header, but you are in effect running another script (unless you don't exit the first).

DoppyNL

Postby DoppyNL » Sun Nov 03, 2002 12:04 am

You could include another file into the script.
it's not redirecting, but you can insert another file at that place.

Greetz Daan


Return to “PHP General”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest