Displaying 3 results from an estimated 3 matches for "session_file".
2008 Mar 28
1
Deleting file in /tmp directory
Hi,
This is a bit of-topic, but since it has to do with /tmp permissions
here it goes.
Anyway, I'm sorry in advance for posting this.
I have this PHP script (simplificated here), called delete_tmp.php
that basically calls external commands:
<?php
$session_file = '/tmp/sess_89765'
system(''rm -f' . ' ' . $session_file);
?>
delete_tmp.php file is owned by gamito.users
/tmp/sess_89765 file has permissions -rw------ and is owned by gamito.users
My /tmp permissions are rwxrwxrwt and is owned by root.root
I know that the th...
2007 Jul 06
1
bitpack error message
i don't think so. this is my current code:
for(i=0; i<samples;i++){
/*only get max 320 bytes at a time so bits can handle*/
Client->raw_audio[i] = *input++;
Client->temp_audio[i] = Client->raw_audio[i];
Client->session_File[ndx] = Client->temp_audio[i];
ndx+=1;
}
speex_bits_reset(&ebits);
speex_encode_int(enc_state,Client->temp_audio,&ebits);
Client->nBytes = speex_bits_write(&ebits,Client->encoded_audio, samples);
speex_bits_read_from(&dbits,Client-&g...
2007 Jul 06
2
bitpack error message
Hi,
i have some code that gives me a "warning: Buffer too small to pack bits"
mesage. looking at the libspeex source/bits.c i see the warning in a
a function named speex_bits_pack. i'm not using this function.
can someone tell me where this may be coming from since i've had a
similiar problem before and had that fixed. i can't seem to pinpoint this
one.
thanks
Greg