Hi all. I am trying to build a PHP web form that feeds the data in a MySQL database. The data entered is varchar and a file is also uploaded. The following columns are present in the database: vName (not null) vNameID (auto increment) vFileName vDescription I want that the file should be stored in a folder named ./files/ and that the uploaded file should be renamed to vNameID. Thanks in advance.
Hello, Here is the code to save a file http://www.wellho.net/forum/Writing-PHP/open-file-change-content-save-file.html
Dear Friends: Ther exact problem is that the PHP form consists of the fileds Name: Address: Picture: The MySQL table is vName vNameID (unique, auto_increment, not_null) vAddress vPicture I want that the picture that is uploaded should be stored in a folder named ./files/ and the link to be stored in vPicture column. Further, I want that the file should be renamed as value in vNameID. Thanks in advance.