note 16618 deleted from function.require by jimw

From: Date: Fri, 11 Jan 2002 21:41:07 +0000
Subject: note 16618 deleted from function.require by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-24693@lists.php.net to get a copy of this message
A warning about requiring files using a URL: if the required file is named with a .php extension you may not get the behavior you expect. A file with a .php extension required with a URL will be evaluated on the remote server. Thus things like variable definitions and defines will NOT pass through to the file issuing the require directive. Name it with a .inc or other extension and things will work as expected.

« previous php.notes (#24693) next »