RE: [PHP] Re: php forgetting variables very easily

2003-03-05 Thread John W. Holmes
> 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

Re: [PHP] Re: php forgetting variables very easily

2003-03-05 Thread Jason k Larson
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

Re: [PHP] Re: php forgetting variables very easily

2003-03-05 Thread 1LT John W. Holmes
> 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(

Re: [PHP] Re: php forgetting variables very easily

2003-03-05 Thread 1LT John W. Holmes
> 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