J'essaye d'attacher un dossier à partir de mon site Web en utilisant l'extraction de mon CDN en utilisant CodeIgniter. Il ne s'attache pas, je suppose parce que la question de sécurité inter-domaine. Comment puis-je joindre un fichier en utilisant CodeIgniter à partir d'un autre serveur sur lequel j'ai le contrôle?Codeigniter - Joindre un fichier de CDN
$this->load->helper('email');
$this->email->from('[email protected]');
$this->email->to($this->input->post('email'));
$retval = $this->crud_model->read('posts', $post_id);
$post = $retval[0];
$this->email->subject($post->title);
$this->email->message('Location: '.$this->config->item('cdn_media_url').$post->image_path);
$this->email->attach($this->config->item('cdn_media_url').$post->image_path);
Merci.