php exprt for exec function issue -- 2


I have one linux binary file which returns text from image.

I use exec php function to get result text.

But issue is if i use same image on different location, the returning result is not same.

Do you know the reason?

Please bid only if you know the reason.

thanks in advance.

Here is my php code.

$base_dir = __DIR__;

$enginePath = $base_dir.'/../../bin';

//$imagePath = $base_dir."/../[login to view URL]";

$imagePath = $base_dir.'/../../aaa/[login to view URL]';

$cmd = $enginePath.' ' . $imagePath;

exec ($cmd, $output);

echo $output[0];

Znanja: Linux, PHP, Spletne storitve

Več: php exec not working, php proc_open, php exec output, php exec vs shell_exec, php exec example, php exec return value, php execute command line, php system vs exec, php website search function free, php google maps function, php link html function, php date diff function, php xss attack function, php log mail function spam, php sales tax function, php simple search function, php check input function, php keyword density function, php add rss function, php form search function

O delodajalcu:
( 14 mnenja ) KINGS LANGLEY, Australia

ID projekta: #15171674

12 freelancerjev ponuja v povprečju za $33 na tem delu


Hello, Being expert Php developer with over 6+ Years of intensive experience I'm ready to fix mention issues as per your needs. Just waiting for an interview for quick project discussion in detail. Relevant Skills a Več

$30 AUD v 1 dnevu
(148 Ocen)

Hello Sir, I've reviewed your requirement and I'm ready to work with you.I have almost 7+ years of experience in web development. I will provide quality work as well full support for any query. Relevant Skills and Ex Več

$25 AUD v 0 dneh
(151 Ocen)

I have read req, please share detail we will done this job today. Thanks Relevant Skills and Experience Linux expert Proposed Milestones $28 AUD - task cost

$28 AUD v 1 dnevu
(147 Ocen)
$20 AUD v 0 dneh
(91 Ocen)
$25 AUD v 1 dnevu
(29 Ocen)

I am Red Hat Certified Linux Engineer and having 5+ year of experience in Managing Core Server | Dedicated Server | VPS Server | Server Security | Server Optimization | Server Setup and Management. Relevant Skills and Več

$20 AUD v 1 dnevu
(31 Ocen)
$25 AUD v 1 dnevu
(4 Ocen)

Hello . Please tell me more about the binary file? What is it doing? I saw your code. I can fix it. Pay only when job is done. Let me know. I am waiting for your response Relevant Skills and Experience Php , php scri Več

$61 AUD v 1 dnevu
(13 Ocen)

A proposal has not yet been provided

$30 AUD v 1 dnevu
(14 Ocen)

Hi there, well i had a couple of experts in PHP and linux operating system so no worries for this issues you just have to give me some more details on your problem cheers Samad W Relevant Skills and Experience Web dev Več

$25 AUD v 1 dnevu
(14 Ocen)
$85 AUD v 1 dnevu
(5 Ocen)

Hi, Greetings, We came across your job posting and found that you’re looking to design a website that will offers IT services like Web hosting, SEO, Web Development, Mobile development Relevant Skills and Experience P Več

$20 AUD v 1 dnevu
(0 Ocen)