From owner-freebsd-questions@FreeBSD.ORG Thu Jan 26 03:26:30 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4D7C16A420 for ; Thu, 26 Jan 2006 03:26:30 +0000 (GMT) (envelope-from mailing-lists@msdi.ca) Received: from mail02.msdihosting.net (9.67-18-64.networks.msdihosting.net [64.18.67.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C12243D45 for ; Thu, 26 Jan 2006 03:26:30 +0000 (GMT) (envelope-from mailing-lists@msdi.ca) Received: from ian.msdi.ca ([24.201.183.241]) by mail02.msdihosting.net ((iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003))) with SMTP id CLI20599 for ; Wed, 25 Jan 2006 22:27:18 -0500 Message-Id: <7.0.0.16.2.20060125203836.027b0900@Msdi.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.0.0.16 Date: Wed, 25 Jan 2006 22:26:24 -0500 To: "freebsd-questions@FreeBSD. ORG" From: Ian Lord In-Reply-To: References: <7.0.0.16.2.20060125154507.05ac57e8@Msdi.ca> Mime-Version: 1.0 X-DEBUG: 1 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: navigating between html & php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 03:26:31 -0000 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 ?