i mean parsing parameter as pointer(in C)
ex:
void print_field( string, x)
char *string;
FIELD2N *x;
{
INDEX i;
printf("%s\n",string);
SUMLOOP(i) printf("%8x ",x->e);
printf("\n");
}
parameter string is pointer.
And do php have function like Struct in C.
Search found 7 matches
- Tue Jan 13, 2004 10:35 pm
- Forum: PHP - Code
- Topic: Encryption using C language in PHP environment?
- Replies: 7
- Views: 747
- Sun Jan 11, 2004 11:14 pm
- Forum: PHP - Code
- Topic: Encryption using C language in PHP environment?
- Replies: 7
- Views: 747
Pointing parameter in PHP?
in the C soure code, it use pointing parameter. Do PHP have a way to point to a parameter as well, to send the data in function.
- Sun Jan 11, 2004 5:50 pm
- Forum: PHP - Code
- Topic: Encryption using C language in PHP environment?
- Replies: 7
- Views: 747
Encryption using C language in PHP environment?
Hi Again! Can anybody explain to me step by step what i have to do to integrate C in PHP 'coz i've try to read the php manual u guys suggested, especially http://www.php.net/manual/en/zend.php. It is to complicated for me to understand especially now i'm running out of time. I'm using php 4.2.3... A...
- Sat Jan 10, 2004 1:28 pm
- Forum: PHP - Code
- Topic: how to write while !eof
- Replies: 2
- Views: 574
how to write while !eof
I want to retrieve data from database, how do i want to check
"while not eof"..
i'm using mysql_fetch_array($result);
"while not eof"..
i'm using mysql_fetch_array($result);
- Sat Jan 10, 2004 10:05 am
- Forum: PHP - Code
- Topic: How to integrate C in PHP
- Replies: 7
- Views: 1036
Can anybody explain to me step by step what i have to do to integrate C in PHP 'coz i've try to read the php manual u guys suggested, especially http://www.php.net/manual/en/zend.php. It is to complicated for me to understand especially now i'm running out of time. Actually, my project is to develop...
- Mon Jan 05, 2004 4:58 am
- Forum: PHP - Code
- Topic: How to integrate C in PHP
- Replies: 7
- Views: 1036
hi volka! ******************************************************* or maybe even writing an extension. The php source code package provides a lot of examples of them. ******************************************************* how do i write an extension? where do i find the php source code package? thanks
- Mon Jan 05, 2004 2:06 am
- Forum: PHP - Code
- Topic: How to integrate C in PHP
- Replies: 7
- Views: 1036
How to integrate C in PHP
How to integrate C in PHP dear friends, I really really need help on how i can integrate c program in php. I need some example on how to do it. I've try to read the php manual on php.net but i can't understand it. ->My project- developing a web-based system (written in php) for a consultancy company...