0

Is zend allows to pass control to a file program which lies outside the zend folder and get the control back after finishing the exicution of the program???

I want to access a file program which is located in another sdk(aws sdk: amazone dynamo Db) to access the data to zend frame work.

Jithu.S
  • 88
  • 1
  • 7

1 Answers1

0

You can use the standard PHP functions like exec

Pay attention to escapeshellarg & escapeshellcmd too.

Rob Allen
  • 12,643
  • 1
  • 40
  • 49
  • Thanks for your reply. But what i want is 'i need to pass the control to the new function which lies in some other folder(SDK)'. Here, It takes the code and does the execution from the parent program.In effect it cannot use the sdk file supports and credentials. – Jithu.S Apr 12 '12 at 05:05
  • I don't understand what you mean. ZF is just PHP, so there's no reason that you can't call a function in another library. I use FPDF within ZF websites with no problems. – Rob Allen Apr 15 '12 at 18:58