Fellow Users,
I was wrong. This problem is not resolved. The call to stat fails and what I
am seeing is the last successful call's results.
If I have a file called "D:\Temp\acctest\sé.txt" s(lowercase e acute).txt
and run the following snippet from a command window:
$filename = "D:\\Temp\\accte
Fellow Users,
My problem lay in the "if ($st = stat($files[$i]))" statement.
The test returned false if the filename contained an accented character, not
merely if the file didn't exist, which latter was the purpose of the test.
However, the information was still available. By separating the tes
Simon ---
BINGO! Thank you! With the insight you gave me, I wrote a trivial C++
program I ran on my webserver to find out all the present environment vars:
#include
#include
int main(int argc, char* argv[],char* envp[])
{
printf("Content-Type: text/html\n\nEnvironment
Variables\n")
> Liang Anmian wrote:
>
> I'm using ActivePerl on Windows. I've been playing around with Perl for
> ISAPI. I notice that scripts that run under Perl for ISAPI don't have
> the "ENV" hash defined, meaning I can no longer grab the visitors' IP
> Address and all other useful stuffs like the HTTP_REF