You are here: executing programs on a server « PHP Programming Language « IT news, forums, messages
executing programs on a server

Posted by Mark on 10/10/06 21:43

hi,

i've written a c++ program that converts one file type to another via
two arguments (the input and output filenames).

i want to execute this on my server, using something like

exec("myprogram.exe $arg1 $arg2");

but then I realized my server is linux, and my program was compiled for
windows.

so I uploaded the .cpp instead, and now i'm trying to compile it doing
something like

exec("gccp hello.cpp");

which returns an exit code 127... not really sure what that means.

I'm guessing I probably don't have permission to be creating files on
my server...is there anyway I can change this permissions or anything?

(or what group should I be posting this in??)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация