Page 2 of 2

Posted: Mon Oct 02, 2006 5:27 pm
by akimm
nope, when I log in via my FTP 'filezilla', it just has a '...' plus all my files. When i click on '...' and attempt to go back, as I believe Mordred was refferring, it just freshes the HTDOCS, or so I assume its called, its only name is / as in root.

Posted: Mon Oct 02, 2006 5:45 pm
by Luke
eh... you can still do it I'm sure. echo out getcwd() and tell me the path... use this:

Code: Select all

<?php echo getcwd(); ?>

Posted: Mon Oct 02, 2006 6:20 pm
by akimm
However, if this is as you said, please do tell me how to do this.

Thanks Ninja.

Code: Select all

/nfs/cust/8/25/05/650528/web

Posted: Mon Oct 02, 2006 6:24 pm
by Luke
try creating a directory in this directory "/nfs/cust/8/25/05/650528" (it's above the root, as the root is "web"). If you can do that, you're half-way there.

Posted: Mon Oct 02, 2006 6:44 pm
by akimm
OK that directory is made.

Posted: Mon Oct 02, 2006 6:50 pm
by Luke
ok now store iplog/ip.txt in that directory you just created... you can access it via nfs/cust/8/25/05/650528/directory_name

(of course you will replace "directory_name" with whatever you named the directory

Posted: Mon Oct 02, 2006 6:53 pm
by akimm
sweet. thanks for the aid.