RE: [PHP] include("blah.php?var=this"); doesn't work?!
| From: | Rasmus Lerdorf | Date: | Thu, 08 Feb 2001 18:02:23 +0000 |
| Subject: | RE: [PHP] include("blah.php?var=this"); doesn't work?! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38790@lists.php.net to get a copy of this message | ||
> Adding ?asin=$asin doesn't make much sense but
> do it like this:
>
> include('book_reviews.php?asin=' . $asin);
Which makes just as little sense. Included files share the same namespace
as the file doing the including. You don't pass arguments to included
files.
-Rasmus