| | |
C code into php
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2005
Posts: 19
Reputation:
Solved Threads: 0
Simple answer: Your algo needs to be ported to PHP. There is no way to implement C/C++ code into a php file.
The only way this works would be writing an extension for PHP. This extension is loaded by the php engine and provides your functionality under special function names.
Have a look at http://www.php.net and the PECL or PEAR subsites.
The only way this works would be writing an extension for PHP. This extension is loaded by the php engine and provides your functionality under special function names.
Have a look at http://www.php.net and the PECL or PEAR subsites.
•
•
Join Date: May 2005
Posts: 19
Reputation:
Solved Threads: 0
http://www.devnewz.com/2002/0909.html
This is a nice "how to" for adding your own libraries using windows. Linux shouldn't be a problem as well, if you know about C/C++ programming on different platforms.
This is a nice "how to" for adding your own libraries using windows. Linux shouldn't be a problem as well, if you know about C/C++ programming on different platforms.
•
•
•
•
Originally Posted by angelv
That is the scheduling code,
I 'd really appreciate your help.
Actually I need to do scheduling for a number of teams in the mysql database.
But I suppose you use use a class instead or take it out altogether.
Passing functions, again that should be simple to do.
And those bitwise operators, thankfully php supports that as well:
http://www.hudzilla.org/php/3_12_3.php
Have a go and see how far you get.
*Voted best profile in the world*
![]() |
Similar Threads
- help executing a .wav file with php code (PHP)
- site will not display php, only the code contents (PHP)
- How would I write this asp code to work in PHP (PHP)
- My embedded php code won't execute (PHP)
- Creating Auto-Responder in PHP (PHP)
- updating 2 HTML tables on one PHP page (PHP)
- PHP Form Input (PHP)
- Features in PHP 5 (PHP)
Other Threads in the PHP Forum
- Previous Thread: new PHP user - help
- Next Thread: passing checkbox value to next page
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube






