Re: include() question...

From: Date: Thu, 20 Jun 2002 23:42:22 +0000
Subject: Re: include() question...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103218@lists.php.net to get a copy of this message
use header ob_start() $temp = "website.php?var=".$var; header ("Location: $temp"); Puru ----- Original Message ----- From: "Phil Schwarzmann" <pschwar@jhmi.edu> To: <php-general@lists.php.net> Sent: Thursday, June 20, 2002 4:31 PM Subject: [PHP] include() question... > Okay, let's say I want to send a user to a certain webpage... > > usually I would use... > > include("website.php"); > > but, if i want to send a user to a website along with a variable like... > > $temp = "website.php?var=".$var; > include($temp); > > ...this doesn't work. > > any suggestions?? > > THANKS!! >

« previous php.general (#103218) next »