Do you know where your variables are? | |
PerlMonks |
Re: win32::ole runs under cmd line but not cgiby dorko (Prior) |
on Jul 23, 2005 at 14:46 UTC ( [id://477482]=note: print w/replies, xml ) | Need Help?? |
Whenever someone says "it works fine from the command line but it doesn't work as CGI..." it makes me think of users' permissions. The user executing CGI scripts is oftentimes a special web user with limited access. When you run the same script from the command line, you're logged in as a user with rights and permissions that are usually quite different from the web user.
It may or may not help, but it's something to think about. Cheers,
Brent
-- Yeah, I'm a Delt.
In Section
Seekers of Perl Wisdom
|
|