FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Having trouble writing/copying/renaming file to sub-directory
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Having trouble writing/copying/renaming file to sub-directory [message #170968 is a reply to message #170967] Mon, 13 December 2010 06:28 Go to previous messageGo to previous message
seeWebInstead is currently offline  seeWebInstead
Messages: 14
Registered: October 2010
Karma:
Junior Member
> From: Jerry Stuckle <jstuck...@attglobal.net>
> What's the userid php is running under?

Trying to find that info...

var_dump($_ENV);
array(5) { ["PATH"]=> string(28) "/usr/local/bin:/usr/bin:/bin"
["PWD"]=> string(1) "/"
["LANG"]=> string(1) "C"
["SHLVL"]=> string(1) "1"
["_"]=> string(17) "/usr/sbin/apache2" }
That didn't tell me anything useful.

$uid = posix_getuid(); var_dump($uid);
int(2001)
Is that what you wanted to know?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to generate cryptographically-secure random big-integers?
Next Topic: PHP Guestbook list on PHPKode.com
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 21:57:53 GMT 2024

Total time taken to generate the page: 0.04053 seconds