Forum Moderators: coopster

Message Too Old, No Replies

hi! I'm trying to install a script....i need help :(

help

         

gonny

3:19 pm on Mar 1, 2005 (gmt 0)

10+ Year Member



I'm trying to install a script for ecard. I have a linux host and need the root.... the script is:

$ecard_root ="C:/Docs/www/ecard"; <---this is for windows host or not?

Who is my root at linux host?
$ecard_root ="?";

Attention! Not $ecard_url <-- that i know :)

jatar_k

5:58 pm on Mar 1, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld gonny,

do you have shell access to your host? If so you could cd to the directory where the root is and then type in pwd to get the full path from root.

You can also usually find it through your ftp program but that depends on the individual client.

You can also put a small script in the directory where the root is and use exec [php.net] to pass the pwd command and echo the output.