On Fri, June 17, 2005 6:47 am, Jason Barnett said:
> What is a reliable cross-platform way of showing which user PHP is
> running as?
http://php.net/get_current_user
The bogus User Contributed note about REMOTE_USER is, well, bogus, almost
for sure.
If that fails, I guess you could try:
Then
What is a reliable cross-platform way of showing which user PHP is
running as?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I dunno what 127 actually means, but the last time we saw it on this list,
it boiled down to:
"You can't even run your 'sh' shell, much less Perl in that shell."
Check what's in /bin/sh and what its permissions are.
Make sure it's actually a valid shell binary, and not something bogus.
If that'
On Thu, June 16, 2005 11:44 am, Chris Herold said:
> Thanks for the tips; however, I think I am still missing something.
>
> My perl script is running when called by passthru() because within the
> body of the simple test code I have set it up to:
>
>
> print "Content-type: text/html\n\n";
>
> pr
On Wed, June 15, 2005 5:36 pm, Chris Herold said:
> I have been told that in order to pass variables via passthru() to
> another script (in my case, a perl script) one can do the following ...
>
> passthru("home/test.cgi $var")
>
> and that $var will then be passed through to the cgi.
>
> I have tr
Hi,
I have been told that in order to pass variables via passthru() to
another script (in my case, a perl script) one can do the following ...
passthru("home/test.cgi $var")
and that $var will then be passed through to the cgi.
I have tried this and failed.
Is this the proper format or is t
6 matches
Mail list logo