Koozali.org: home of the SME Server

PHP & directory structure and Xwindows

paul

PHP & directory structure and Xwindows
« on: January 15, 2003, 07:41:03 PM »
Hello,

I am trying to set up my SME server to run a PHP script called andromeda, which looks through a folder and returns a website showing all the MP3 files and directories contained within.

If the script is in the same directory as the files all is well however if I try and put the files in the ibays files directory and the script in the html directory I have problems. There is a preference within the script where the physical path to the data on the harddrive needs to be entered in order for this to work properly, how do I find this out??

Also is there a list of command line commands that the SME server will recognise or better still some kind of Xwindows UI that I can access, as the commands for listing directories I got from a books on Redhat 6 and Suse 7 don't appear to work

Sorry but complete newbie

Regards

Paul

Bill Talcott

Re: PHP & directory structure and Xwindows
« Reply #1 on: January 15, 2003, 07:59:00 PM »
paul wrote:
>
> Hello,
>
> I am trying to set up my SME server to run a PHP script
> called andromeda, which looks through a folder and returns a
> website showing all the MP3 files and directories contained
> within.
>
> If the script is in the same directory as the files all is
> well however if I try and put the files in the ibays files
> directory and the script in the html directory I have
> problems. There is a preference within the script where the
> physical path to the data on the harddrive needs to be
> entered in order for this to work properly, how do I find
> this out??

/home/e-smith/files/ibays/

> Also is there a list of command line commands that the SME
> server will recognise or better still some kind of Xwindows
> UI that I can access, as the commands for listing directories
> I got from a books on Redhat 6 and Suse 7 don't appear to work

SME is designed as a server, so it has no "user GUI". It is based on RH7, and I believe Midnight Commander ("mc") is installed by default as well.

paul

Re: PHP & directory structure and Xwindows
« Reply #2 on: January 15, 2003, 08:09:31 PM »
Thanks bill

now the even more basic question : what do i need to type assuming i have just logged in as root in order to run Midnight commander is it literally # mc ??

Regards

Paul

Johan

Re: PHP & directory structure and Xwindows
« Reply #3 on: January 15, 2003, 08:19:41 PM »
Hello Paull,

You can always looking/searching on the Internet are at this board

when you search make the total search days longer not only at 30 day's

I have found for you the follow link:

http://myezserver.com/downloads/mitel/howto/midnightcommander-howto.html

And you find all info about the MC programm

Good Luck

Johan

Dan Brown

Re: PHP & directory structure and Xwindows
« Reply #4 on: January 15, 2003, 08:33:26 PM »
Might be useful to say what those commands were, and how they "didn't work".

Dan Brown

Re: PHP & directory structure and Xwindows
« Reply #5 on: January 15, 2003, 08:37:24 PM »
...and in brief, you just type "mc" (without the quotes).