Re: Accesing PHP script from another site
| From: | _lallous | Date: | Tue, 16 Oct 2001 12:34:14 +0000 |
| Subject: | Re: Accesing PHP script from another site | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71199@lists.php.net to get a copy of this message | ||
if he's including it via http then it won't work (ie:
include('http://hissite.net/config.php'); )
because the server parses it before.
Otherwise I guess not.
"Rosen" <rosen_dm@dir.bg> wrote in message
news:20011016105029.65387.qmail@pb1.pair.com...
> Hi,
> I have some PHP script config.php.
> It contains some variables like passwords and e.t.c.
>
> Is it possible someone from another site to "include" my config.php and to
> execute it
> and to see variables in it ?
>
> Thanks,
> Rosen
>
>