budur
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Localhost Installs
In reply to: wp-admin turns up "not found" errorForum: Plugins
In reply to: [Contact Form 7] How to save attachments in the serverThen at least make it an option for the user whether to keep or delete the files!
Forum: Plugins
In reply to: [Contact Form 7] How to save attachments in the serverwhen I added the code back:
public function remove_uploaded_files() { foreach ( (array) $this->uploaded_files as $name => $path ) { @unlink( $path ); @rmdir( dirname( $path ) ); // remove parent dir if it's removable (empty). } }I got the meesage: Your message was sent successfully. Thanks.
when clicking send buttonForum: Plugins
In reply to: [Contact Form 7] How to save attachments in the serverI’ve found:
public function remove_uploaded_files() { foreach ( (array) $this->uploaded_files as $name => $path ) { @unlink( $path ); @rmdir( dirname( $path ) ); // remove parent dir if it's removable (empty). } }and I removed it. The email was sent but I didn’t get a message in the form after clicking (send) button to confirm sending the email. and there is no file saved in uploads folder.
Forum: Plugins
In reply to: [Contact Form 7] How to save attachments in the serverI read that thread but I couldn’t find the following code:
// remove upload files /*foreach ( (array) $wpcf7_contact_form->uploaded_files as $name => $path ) { //@unlink( $path ); */}I didn’t find contact-form-7/includes/controller.php or classes.php
Viewing 5 replies - 1 through 5 (of 5 total)