I am isung PHPExcel and have a URL in a string. When doing:
$url = \'http://dx.doi.org/10.1016/j.phymed.2005.11.003\' $xls = new PHPExcel(); $xls->setActiveSh
I have found the solution, somehow the url I had was not recognized by excel.
$url = str_replace('http://', '', $link); $xls->getActiveSheet()->getCellByColumnAndRow(1,2)->getHyperlink()->setUrl('http://www.'.$url);
And now it works. Hope this will help.