Graham,
Read + Write + Execute = 7
Read + Write = 6
Read + Execute = 5
Read = 4
Write + Execute = 3
Write = 2
Execute = 1
If you want to allow a PHP program to upload files to your server, you need to set the CHMOD to 777 or 666.
Hope it helps.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx