[PHP] fopen wont create my file?
#1

PHP код:
$pfile=$_SERVER['DOCUMENT_ROOT']."\\users\\".$player.".ini";
$filehandle=fopen($pfile,"w");
if(!
$filehandle)
{
echo 
'failed';

for some reason, it just won't create my file. it just prints 'failed'.
any advice will be appreciated
Reply


Messages In This Thread
[PHP] fopen wont create my file? - by legodude - 28.01.2012, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)