Fermé

php exprt for exec function issue -- 2

HI,

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."/../[url removed, login to view]";

$imagePath = $base_dir.'/../../aaa/[url removed, login to view]';

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

exec ($cmd, $output);

echo $output[0];

Compétences : Linux, PHP, Services Internet

Voir plus : 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

Concernant l'employeur :
( 7 commentaires ) KINGS LANGLEY, Australia

N° du projet : #15171674

14 freelance ont fait une offre moyenne de 34 $ pour ce travail

dbuglab

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 Plus

30 $ AUD en 1 jour
(95 Commentaires)
6.9
phpfreelancer86

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 Plus

25 $ AUD en 0 jours
(109 Commentaires)
5.8
20 $ AUD en 0 jours
(83 Commentaires)
5.8
ambientinfotech

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 en 1 jour
(42 Commentaires)
5.1
chiragdosi

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 Plus

20 $ AUD en 1 jour
(17 Commentaires)
4.5
25 $ AUD en 1 jour
(8 Commentaires)
3.8
Jsharma44

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 Plus

61 $ AUD en 1 jour
(6 Commentaires)
3.4
digitalideas61

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 Plus

25 $ AUD en 1 jour
(5 Commentaires)
2.9
acshovon

A proposal has not yet been provided

30 $ AUD en 1 jour
(6 Commentaires)
2.7
85 $ AUD en 1 jour
(4 Commentaires)
2.2
25 $ AUD en 1 jour
(1 Commentaire)
0.7
harshitabit

thanks for your opportunity

55 $ AUD en 1 jour
(0 Commentaires)
0.0
polaris728

Dear sir! Thank you for your description,I have checked your project and understood all your requirements. So I can help you. I think directory route is incorrect. Relevant Skills and Experience php Proposed Milesto Plus

25 $ AUD en 1 jour
(1 Commentaire)
0.0
abhishek61290

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 Plus

20 $ AUD en 1 jour
(0 Commentaires)
0.0