Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 22:26:24 -0500
From:      Ian Lord <mailing-lists@msdi.ca>
To:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: navigating between html & php 
Message-ID:  <7.0.0.16.2.20060125203836.027b0900@Msdi.ca>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGEEBFHMAA.fbsd_user@a1poweruser.com>
References:  <7.0.0.16.2.20060125154507.05ac57e8@Msdi.ca> <MIEPLLIBMLEEABPDBIEGEEBFHMAA.fbsd_user@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 20:16 2006-01-25, fbsd_user wrote:
>Thank you for replying but
>creating the directory or permissions has
>nothing to do with my question.
>Please reread original post.

Sorry, read too fast :)

The function to redirect the user to another page is

header ('Location: http://www.yahoo.com');

This will do a http redirect, you must make sure the script has not 
sent any output, otherwise the redirect will fail.

Instead of redirecting the user, you might do the following

use require, require_once, include, or include_once to inclure the 
content of page1 this will have the same effect

Regarding your error while checking if the directory exist, can you 
post the exact error php gives you ?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.0.16.2.20060125203836.027b0900>