Please note that putenv() might not function as expected in Safe Mode for example.
Is the included script on the same server?
If yes, then why do you include it with an URL instead of a local path. If oncluded locally it can inherit environment, and even variables defined in the local scope of the calling script.
If on another server, then you can never pass environment variables, as each server will have it's own environment. The only way to pass parameters is in the request string.
|