PDA

View Full Version : External Commands


krymsunmortis
10-23-2002, 11:28 AM
I was wondering is there a way to get either HTML or CGI or JS to run an external command? If so any links to where this info may be so I can RTFM without haveing to read a hole programming book just to find it would be helpful.

Thanks in advance
Bobby

Dynasty
10-23-2002, 01:43 PM
If my external commands you mean executables, then php has I think the shell() function, but that would run the program on the server not the client.

krymsunmortis
10-23-2002, 04:54 PM
What I was wondering was there a way to have a person who is viewing the web page to run a command that is on their machine.
What I am trying to do is have it so they can view my web page on one server and then have the external command of FTP://username:password@ip_address here. that is just one of the things I am wanting to do.

I don't have the money to have the storage space on a web site to post all the files and proggies I want to post so I setup a ftp program on my machine at home. I want them to click on a file name on the web page then have it automatically send the info to the FTP server.

I hopes this helps you, help me in my little endevour.


And yes I have already found some scripts out there that do FTP from an FTP but those that I found a person has to know the name password and IP and It is hard enough trying to get these people to understand ctrl+c then ctrl+v lol

Again any help is gratefull