![]() $targetPath = "upload/". $sourcePath = $_FILES // Storing source path of the file in a variable Success: function(data) // A function to be called if request succeeds ProcessData:false, // To send DOMDocument or non processed data file it is set to false ![]() form fields and values)ĬontentType: false, // The content type used when sending data to the server.Ĭache: false, // To unable request pages to be cached Type: "POST", // Type of request to be send, called as methodĭata: new FormData(this), // Data sent to server, a set of key/value pairs (i.e. Url: "ajax_php_file.php", // Url to which the request is send
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |