> Include can handle URLs as the path if allow_url_fopen is set
correctly
> in the php.ini. But it does have some limitations if being done on a
> Win32 platform instead of (*)nix.
>
> Try reading this, it might shed some needed light.
> http://www.php.net/manual/en/function.include.php
Very tru
Include can handle URLs as the path if allow_url_fopen is set correctly
in the php.ini. But it does have some limitations if being done on a
Win32 platform instead of (*)nix.
Try reading this, it might shed some needed light.
http://www.php.net/manual/en/function.include.php
HTH
--
Jason k Lars
> Thanks, John- that works brilliantly.
> Just wandering how I can include a file in a different
> directory so that it still remembers variables.
>
> for example what if I want to include the file
> www.example.com/two/example.php in the file:
> www.example.com/one/example.php
> ?
> would include(
> I am still having problems with variables not being
> remembered by included files. I've tried using the
> global command and it still doesn't work. I've cut
> down my two pages to contain the main stuff so you can
> see what's happening. Basically main.php includes the
> file new.php and I wa
4 matches
Mail list logo