I have to call some c++ functions in php files. how can i create an extention dll which will work with php.
vrgopakumar 0 Newbie Poster
Recommended Answers
Jump to PostIf you are using php on a linux machine you can use the system function.
http://uk2.php.net/manual/en/function.system.php
Or if you are using Windows machines, you can use shell_exec function.
example:
$Info = explode("\n", shell_exec(".\\progs\\program.exe"));
Will dump the …
All 5 Replies
ReDuX 1 Junior Poster
vrgopakumar 0 Newbie Poster
tinudeshmukh 0 Newbie Poster
tinudeshmukh 0 Newbie Poster
theighost -2 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.