I am assuming that he is making a very simple example for something much
larger, written in C.
> erm, it would make more sense to use php:
>
> <?php
>
> $c = 1 + 2;
>
> print ("Value C is $c");
>
> ?>
>
>
>> You need to make an extension. Look in the ext/ directory. Those are
>> all PHP extensions.
>>
>> > HI,
>> >
>> > I have a functino write in c, like as:
>> >
>> > void addvalue ( int a, int b, int *c )
>> > {
>> > *c = a + b;
>> > }
>> >
>> > in php
>> >
>> > <?
>> >
>> > phpinclude ("alexlib");
>> > addvalue ( 1, 2, c );
>> > print ( "Value c = $c ");
>> >
>> > ?>
>> >
>> > what the procedure to make this ?
>> >
>> >
>> >
>> >
>> > --
>> > PHP Development Mailing List <http://www.php.net/>
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>> --
>> PHP Development Mailing List <http://www.php.net/>
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php