Re: Require()
| From: | Adam Voigt | Date: | Wed, 26 Jun 2002 12:47:41 +0000 |
| Subject: | Re: Require() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103945@lists.php.net to get a copy of this message | ||
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
>