Thanks for the reply. However I've installed the svm_classify in the
same 'cgi-bin' directory. I'm enclosing my code snippet as below. I'd
appreciate if you could suggest me how to modify the line to execute <span style="font-style: italic;">svm_classify<span style="font-style: italic;"></span></span>. <br>
<br>
<span style="font-style: italic;">system "svm_classify input-file model-file output-file";</span><br>
<br>
Thanks,<br>
MP.<br>
<br><div><span class="gmail_quote">On 1/17/06, <b class="gmail_sendername">Frank Wiles</b> <<a href="mailto:frank@wiles.org">frank@wiles.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 17 Jan 2006 19:36:58 -0600<br>user perl <<a href="mailto:user.perl@gmail.com">user.perl@gmail.com</a>> wrote:<br><br>> Hi,<br>><br>> I'm currently writing a CGI script which involves the execution of
<br>> a tool called "SVM Light" in Linux/Apache. The typical command for<br>> executing SVM Light in Linux is svm_classify input-file model-file<br>> output-file. I'm using the "system" option of executing commands in
<br>> CGI but it isn't working because SVM Light is not a system command<br>> (IMHO). Has anyone tried executing third party tools within CGI<br>> scripts?<br><br> Yeah this shouldn't be a big deal. Try using backticks instead of
<br> system like:<br><br> `/full/path/to/svn_classify $input $model $output`;<br><br> ---------------------------------<br> Frank Wiles <<a href="mailto:frank@wiles.org">frank@wiles.org</a>><br> <a href="http://www.wiles.org">
http://www.wiles.org</a><br> ---------------------------------<br><br></blockquote></div><br>