in reply to Re^3: Can the username be represented differently ?
in thread Can the username be represented differently ?

The code now looks like this

#!/usr/local/bin/perl -wT $|=1; $name = 'myusername'; $uid = getpwnam($name); print "$uid: $uid;


but I'm still getting the 500 msg in the browser, and the web logs say "Premature end of script headers: /home/myusername/cgi-bin/getvars1.pl

I think I had better check the forums at the hosts to see if anything has changed since last I used Perl, however I did just run FormMail.pl from the same path, it has a 744 and it worked just fine ??

Thanks,

Peter

Replies are listed 'Best First'.
Re^5: Can the username be represented differently ?
by peterr (Scribe) on Jun 28, 2004 at 06:36 UTC
    The browser output is now:

    uid: 32149

    Thanks,

    Peter