in reply to Re^4: GD:image resolution issue
in thread GD:image resolution issue

I see from code you've posted in another node that your operating in a cgi environment. So the simplest way would be to display the version number in the browser.

You should also display the perl version number $], and the contents of both @INC and %INC.

Replies are listed 'Best First'.
Re^6: GD:image resolution issue
by matua105 (Novice) on Aug 11, 2010 at 03:56 UTC

    The server will not let me get the variables:

    #!/usr/local/bin/perl print "Content-type: text/html\n\n"; print "<code>\n"; foreach $key (sort keys(%ENV)) { print "$key = $ENV{$key}<p>"; }

    I get an internal server error message

      I know nothing about cgi servers. but it seems very clear to me that your setup is completely broken. If you do not have direct access to it, then you will have to contact the appropriate support people to fix it.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        Thanks BrowserUK. I have put in a service request asking what version of GD, and why the code specified by Lincoln Stein is not working, and also why I get these internal server errors (including why I can't even get the environment variables).