Re: Require()

From: Date: Wed, 26 Jun 2002 13:06:24 +0000
Subject: Re: Require()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-103950@lists.php.net to get a copy of this message
I'm afraid it don't ork. Thanks Anyway. Anyone ? "Adam Voigt" <adam.voigt@cryptocomm.com> wrote in message news:1025095661.1129.3.camel@beowulf.cryptocomm.com... > No spaces. > > Instead of "every = 1" > Use: "every=1" > > Adam Voigt > adam.voigt@cryptocomm.com > > On Wed, 2002-06-26 at 08:37, Andy Whittlestone wrote: > > I want to use require to send some post information to a page. > > > > > > Code: > > > > if ($viewsystem = = 1) > > $Str = "editexemptfiles.php?every = 1"; > > > > require($Str); > > > > > > I've tried what it says in the online documentation, but it doesn't work, > > > > Tried: > > $Str = "d:\htdocs\somewhere\editexemptfiles.php?every = 1"; > > > > > > getting the following error: > > > > Fatal error: Failed opening required > > 'd:/htdocs/somewhere/anotherpage.php?every = 1' > > (include_path='.;d:\php\includes') in d:\htdocs\somewhere\thispage.php on > > line 48 > > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.general (#103950) next »