No spaces. Instead of "every = 1" Use: "every=1"
Adam Voigt [EMAIL PROTECTED] 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php