I'm sorry for my english
I mean:
1) I make forum PHP script
2) Upload to server via FTP
3) What CHMOD comand i must use to files & directories (config.php - must be secure, because they contain admin login & password)
Well if you have an installation script with your forum the config.php will have to be 777 if anything is being wrote to it, but then afterwards I'd CHMOD it to something like 755.