I have a file written by C whit a c-style struct like this: 

struct BACACHE 
{ 
char author[300][100]; 
int top; 
time_t uptime; 
time_t touchtime; 
int busystate; 
}; 

is there any way to get these data into PHP with certain variable type ? 

I've tried to use " unpack() " function, but I found that unpack() can't
unpack a char array ( I mean string) , it breaks string into characters....
please help me...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to