On Tue, Mar 17, 2009 at 9:51 AM, Thiago H. Pojda wrote:
> On Tue, Mar 17, 2009 at 10:42 AM, George Larson
> wrote:
>
> > In my scripts, I usually define a boolean constant DEBUG. True looks for
> > local copies of includes and echoes queries as they're used.
> >
> > My question is:
> >
> > Is the
My question was, as usual, inadequately formed.
Realpath() was interesting but I was creating directories to store archived
data. In my limited testing, it seemed that realpath returns a relative
path. Other words, if you're already in home and you try
(realpath("~")."\archive\") then you get on
bash also has $HOME, which maps to /home/USERNAME, just in case you wanted
another way. :)
On Tue, Mar 17, 2009 at 6:47 AM, George Larson wrote:
> Thanks!
>
> On Tue, Mar 17, 2009 at 9:46 AM, Stuart wrote:
>
> > 2009/3/17 George Larson
> >
> > In my scripts, I usually define a boolean constant
2009/3/17 George Larson
> In my scripts, I usually define a boolean constant DEBUG. True looks for
> local copies of includes and echoes queries as they're used.
>
> My question is:
>
> Is there any way for me to reflect the actual home folder of the person
> running the script? So it will be "
That is correct. PHP on CLI. Thanks!
On Tue, Mar 17, 2009 at 9:51 AM, Thiago H. Pojda wrote:
> On Tue, Mar 17, 2009 at 10:42 AM, George Larson > wrote:
>
>> In my scripts, I usually define a boolean constant DEBUG. True looks for
>> local copies of includes and echoes queries as they're used.
Thanks!
On Tue, Mar 17, 2009 at 9:46 AM, Stuart wrote:
> 2009/3/17 George Larson
>
> In my scripts, I usually define a boolean constant DEBUG. True looks for
>> local copies of includes and echoes queries as they're used.
>>
>> My question is:
>>
>> Is there any way for me to reflect the actua
On Tue, Mar 17, 2009 at 10:42 AM, George Larson
wrote:
> In my scripts, I usually define a boolean constant DEBUG. True looks for
> local copies of includes and echoes queries as they're used.
>
> My question is:
>
> Is there any way for me to reflect the actual home folder of the person
> runnin
In my scripts, I usually define a boolean constant DEBUG. True looks for
local copies of includes and echoes queries as they're used.
My question is:
Is there any way for me to reflect the actual home folder of the person
running the script? So it will be "/home/george/foo" when I run it but, f
8 matches
Mail list logo