Re: About include()
| From: | Web Admin | Date: | Sat, 07 Oct 2000 17:56:06 +0000 |
| Subject: | Re: About include() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19054@lists.php.net to get a copy of this message | ||
Hi,
Yes, if you include a file within a function, it's just
like that you have written all the code inside the function.
So, hopefully you can use all the variables. :-)
-Ahmad Anvari
P.S. Would someone please tell me how can I change
the font [smake it smaller] when replying in damn M$
outlook express?!! When I reply to a message written
in BIG, my message becomes BIG too! ;)
----- Original Message -----
From: "manohar sadhasivam" <sadhasivammanohar@hotmail.com>
To: <php-general@lists.php.net>
Sent: Sunday, October 08, 2000 2:31 AM
Subject: [PHP] About include()
> Hi,
> The documentation says that,
> "If the include() occurs inside a function within the calling file,
> then all of the code contained in the called file will behave as though
it
> had been defined inside that function."
>
> Does it mean that whatever variables that i define in the called file
will
> be available in the function(and hence the calling file)?
> Please help.
> mano.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>