EZ form calculator, upload file to another server
-
I am using EZ form calculator plugin and i want to ask is it possible to set file upload instead of default WP folder to another server where i have static ip address.
This is part of code what i am thinking is related to solve my problem but i dont know how.
/**
change upload dir
**/
add_filter(‘upload_dir’, ‘my_upload_dir’);
$upload = wp_upload_dir();function my_upload_dir($upload) {
$upload[‘subdir’] = ‘/ezfc-uploads’ . $upload[‘subdir’];
$upload[‘path’] = $upload[‘basedir’] . $upload[‘subdir’];
$upload[‘url’] = $upload[‘baseurl’] . $upload[‘subdir’];
return $upload;
}
- The topic ‘EZ form calculator, upload file to another server’ is closed to new replies.