Require()
| From: | Andy Whittlestone | Date: | Wed, 26 Jun 2002 12:37:04 +0000 |
| Subject: | Require() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103944@lists.php.net to get a copy of this message | ||
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