Jump to content


Photo

[C++]: create php-array w/ c++


  • Please log in to reply
1 reply to this topic

#1 arne_anka

arne_anka
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 17 October 2006 - 09:41 AM

hi,
does anybody know an example or howto, describing how to create a php-array from c++?
i need to read a textfile w/ c++, process it and give the results to php. the easiest way would imo be, to put the results in php-arrays and simply call unserialize() in php.

any (other) ideas?


#2 btherl

btherl
  • Staff Alumni
  • Advanced Member
  • 3,893 posts
  • LocationAustralia

Posted 20 October 2006 - 05:14 AM

A php extension would be ideal for this, but I think php extensions are C only, not C++ .. can anyone confirm this?  The documentation for them is here:

http://www.zend.com/...rnals/index.php




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users