Page 1 of 1

How do I convert PHP to C++ coding?

Posted: Sat Mar 26, 2011 1:46 pm
by project168
Is there a compiler to do that?

Re: Using PHP to transmit/write characters to a USB port dev

Posted: Sat Mar 26, 2011 8:22 pm
by MindOverBody
You can only write file contents on a drive which is USB with this:

Code: Select all

file_put_contents( "X:\file\path\on\usb\stick", $data );  
X is drive letter of USB drive. Other type of data manipulation is simply impossible with PHP.

Re: How do I convert PHP to C++ coding?

Posted: Sun Mar 27, 2011 5:46 am
by Darhazer
project168 wrote:Is there a compiler to do that?
facebook has released HipHop PHP - but that does not mean that it's going to transform *any* php code to C++