Re: Re: php forgetting variables very easily

From: Date: Wed, 05 Mar 2003 17:15:48 +0000
Subject: Re: Re: php forgetting variables very easily
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138314@lists.php.net to get a copy of this message
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 Larson Ian A. Gray wrote:
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('/two/example.php') work? Would it not work from a different domain? Many thanks, Ian Gray ===== --------------------------------- Ian A. Gray Manchester, UK Telephone: +44 (0) 161 224 1635 - Fax: +44 (0) 870 135 0061 - Mobile: +44 (0) 7900 996 328 US Fax no.: 707-885-3582 E-mail: ian.gray@dunelm.org.uk - Websites: www.baritone.uk.com (performance) & www.vocalstudio.co.uk (Tuition) --------------------------------- __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com


« previous php.general (#138314) next »