|
$f=fopen("$v"."_$p.key","w");
fwrite($f,$newkey);
}
Seems to be the problem
Its being denied permission. Using "w" - if the file does not exist, attempt to create it. Does the file exist? Does it have permission to create it if it doesnt exist?
"If you fopen() a handle, you also have to obligation to fclose() it again."
$f=fopen("$v"."_$p.key","w");
fwrite($f,$newkey);
fclose($f);
}
Search fopen and fwrite at php.net
Might find some answers
__________________
Websites Created;
warscope.com
ratepayers.org.nz
Last edited by lothop; 11-11-2008 at 05:39 PM..
|