Hi can anyone explain to me how to manipluate strings. I have generated a file name ($_FILES['documenturl']['name']) Out of this server variable I need to grab the file and the extension and put them into seperate fields for database upload. Any idea how to do this by using substr? Thanks Steven