Music online hack
Geplaatst: 07 apr 2005, 15:57
Ik krijg deze foutmeldingen als ik een song wil uploaden:
music upload.php regel 517 - 520
page_header.php regel 510 - 520
Is het ook mogelijk om de uploadfunctie uit te schakelen? (zodat het enkel werkt met de link in te geven waar het bestand zich bevind?)
Code: Selecteer alles
Warning: move_uploaded_file(music_box/upload/eff1f5b9baa2ee7afcfed41d81e69d61.wav): failed to open stream: Permission denied in /opt/www/verbelend/web/www.deiremonne.be/phpBB2/music_upload.php on line 518
Warning: move_uploaded_file(): Unable to move '/opt/www/verbelend/web/tmp/phplByaUc' to 'music_box/upload/eff1f5b9baa2ee7afcfed41d81e69d61.wav' in /opt/www/verbelend/web/www.deiremonne.be/phpBB2/music_upload.php on line 518
Warning: Cannot modify header information - headers already sent by (output started at /opt/www/verbelend/web/www.deiremonne.be/phpBB2/music_upload.php:518) in /opt/www/verbelend/web/www.deiremonne.be/phpBB2/includes/page_header.php on line 514
Warning: Cannot modify header information - headers already sent by (output started at /opt/www/verbelend/web/www.deiremonne.be/phpBB2/music_upload.php:518) in /opt/www/verbelend/web/www.deiremonne.be/phpBB2/includes/page_header.php on line 516
Warning: Cannot modify header information - headers already sent by (output started at /opt/www/verbelend/web/www.deiremonne.be/phpBB2/music_upload.php:518) in /opt/www/verbelend/web/www.deiremonne.be/phpBB2/includes/page_header.php on line 517
Code: Selecteer alles
{
$move_file = 'copy';
}
$move_file($filetmp, MUSIC_UPLOAD_PATH . $song_filename);
@chmod(MUSIC_UPLOAD_PATH . $song_filename, 0777);
}
Code: Selecteer alles
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
$template->pparse('overall_header');
?>