I am uploading image in Codeigniter and I need to upload same image in WordPress. So i treid following thing:
After uploading i called a file which start from following code, but the vairable “site_url” created issue because both CI and WP are using this so got “variable redeclare issue”.
require_once( ‘wp-config.php’ );
I did another implementation, after uploding image I stored $_FILES in session and tried send image information using session which is not working.
Any one can suggest how i can complete this process.
Read more here: Codigniter and WordPress Bridge for image Upload