Re: Server directory of a running script

2021-11-12 Thread jbv via use-livecode

Le 2021-11-12 15:10, Phil Davis via use-livecode a écrit :

Also, maybe try "the filename of me". It seems like that should work,
though I could be wrong.



No, you're right, it works too.
Thank you.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server directory of a running script

2021-11-12 Thread Phil Davis via use-livecode
Also, maybe try "the filename of me". It seems like that should work, 
though I could be wrong.


Phil Davis


On 11/12/21 2:46 AM, jbv via use-livecode wrote:

Great ! Thank you.

Le 2021-11-12 05:20, Ralf Bitter via use-livecode a écrit :

You might try $_SERVER["PATH_TRANSLATED"]


Ralf



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


--
Phil Davis
503-307-4363


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server directory of a running script

2021-11-12 Thread jbv via use-livecode

Great ! Thank you.

Le 2021-11-12 05:20, Ralf Bitter via use-livecode a écrit :

You might try $_SERVER["PATH_TRANSLATED"]


Ralf



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server directory of a running script

2021-11-12 Thread Ralf Bitter via use-livecode

You might try $_SERVER["PATH_TRANSLATED"]


Ralf



On 12.11.21 10:59, jbv via use-livecode wrote:

Hi list,
Is there a way to get the full path of the server directory/subdirectory 
in which an LC script is running, from within the script itself while it 
is running ?

I have a Livecode Hosting account and I need to get something like :
"/home/myAccount/public_html/myDirectory/mySubDirectory/"

Thank you in advance.
jbv



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Server directory of a running script

2021-11-12 Thread jbv via use-livecode

Hi list,
Is there a way to get the full path of the server directory/subdirectory 
in which an LC script is running, from within the script itself while it 
is running ?

I have a Livecode Hosting account and I need to get something like :
"/home/myAccount/public_html/myDirectory/mySubDirectory/"

Thank you in advance.
jbv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode