how do i get round this...?
Warning: Rename failed (Permission denied) in /home/sites/test.php on line 2
for a simple rename...
rename('test1.swf', 'it_works.swf');
??????????
help
thx in advance! JIm
i would check your permissions on the file.
ahhhhh the directory permissions were blocking it ...sorted now cheers. J
First off all is a permission problem.Do a chmod 755.If this work then look under what user your apache server is running,and set the according permission over the files from your root directory. ex: cd /var/www/html/public chown -R apache:apache chmod -R g+r chmod -R O+r
Must work !