0

I have a C dll containing functions and enumerations I want to make accessible from php. How can I do it?

John Carter
  • 53,924
  • 26
  • 111
  • 144
Day_Dreamer
  • 3,311
  • 7
  • 34
  • 61

1 Answers1

2

You need to write an extension. You do need some C experience but this tutorial is pretty easy to follow.

edit I googled around out of curiosity, apparently you can sort-of dynamically load a dll from php using w32api. I'd still go for the extension ;-)

mvds
  • 45,755
  • 8
  • 102
  • 111