Executing program in a server

Everything else that doesn't fall into one of the other PB categories.
EvilByte
User
User
Posts: 13
Joined: Wed Dec 15, 2010 5:21 pm
Location: Greece

Executing program in a server

Post by EvilByte »

Hi,
I made a small server for chatting and i want to execute it at a remote server (apache) which i have access only through ftp. Can i do that?
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Executing program in a server

Post by Rook Zimbabwe »

well if you access YOUR server you should be able to upload your file... now it is going to depend on YOUR hosting service as to weather they let you run your program...

otherwise NO

and if it isn't YOUR website server... I wouldn't even try it! There are several chatrooms available in Ruby, Java, Php, Perl, Python etc... my site host allows all to be easily configured so I don't need to write my own. FREE.
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
EvilByte
User
User
Posts: 13
Joined: Wed Dec 15, 2010 5:21 pm
Location: Greece

Re: Executing program in a server

Post by EvilByte »

I wasn't quite clear, i don't want to add chatbox in my website.I made something like a messenger.I can upload my chatserver.exe at the remote pc but i cannot make it run there and accept connections from chatclient.exe.Tried using PHP exec() but without success :(
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Executing program in a server

Post by Trond »

Maybe the server is running Linux, not Windows?
EvilByte
User
User
Posts: 13
Joined: Wed Dec 15, 2010 5:21 pm
Location: Greece

Re: Executing program in a server

Post by EvilByte »

You 're right Trond just noticed that the server is running ubuntu! :oops:
However i don't have linux at my PC...
Should i search for a windows server?
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Executing program in a server

Post by Rook Zimbabwe »

or DL ubuntu and install it on anothe rmachine or as a dual boot... then DL the linux version of PB from your registered account and recompile and you are in business!

Most windows servers you didn't set up have very strict security... I would talk to your host first!

OR

You caould host it on your computer! :mrgreen:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply