Script wont work

From: Date: Sun, 05 Dec 2004 16:00:56 +0000
Subject: Script wont work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-203522@lists.php.net to get a copy of this message
Hi, I've done this to session.c but the my pages wont work. Is there something iam missing?why doesnt it work? char *val; int vallen; val = php_session_encode(&vallen TSRMLS_CC); char *vala = (char *)calloc(sizeof(vala), strlen(val) + 1); sprintf(vala, "%s", val); if (vala) { ret = PS(mod)->s_write(&PS(mod_data), PS(id), vala, efree(vala); } else { ret = PS(mod)->s_write(&PS(mod_data), PS(id), "", 0 } cheers -colin

« previous php.general (#203522) next »