can any one help me to solve the problem.actualy i am makink an php
application and i am using exec() function but when i run the
programme it give the warning "exec() has been disabled for security
reasons"
why this happening can any one tell me
actually the code is
exec("swetest -edir$sweph -bj$ejd -p$p_idx -eswe -fls -g, -head",
$out);
i am Eagerly waiting for that
thanks in advance
bye
Like the message says - exec() has been disabled for security reasons.
If this is on your computer, check your php.ini file. If it's on shared
hosting, chances are they will not enable it. You'll need a vps or
dedicated server.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================
As an alternative you could use popen(), although chances are that this
function has been disabled too.
Another alternative is to use Perl to execute the command and generate a
results page which you can include the regular way through HTTP.
JW