fp fpweb and environment vars
Kenneth Brody
kenbrody at bestweb.net
Sat Nov 4 19:50:36 PST 2006
Quoting Scott Nelson (Sat, 04 Nov 2006 17:44:26 -0800):
> It appears that when using fp5 on windows with apache and fpweb (cgi),
> the system variables can not be read from within a fp process, such as
> with getenv("username"). Anyone know of a work around for this?
The only reason I know of as to why filePro will not return a value
for getenv() is if there is no environment variable by that name.
And don't forget, environment variable names are case-sensitive, even
under Windows. Are you sure that shouldn't be getenv("USERNAME")?
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list