Ich mache Excel-Download mit Codeigniter. Es funktioniert, aber wenn ich ein Bild in eine Excel-Zelle anhefte, kann ich kein Bild aus Excel mit Code-Signierer lesen.Hochladen Excel enthält Bilddatei im Codezeichner
$sheetData = $objPHPExcel - > getActiveSheet(); foreach($sheetData - > getDrawingCollection() as $drawing) {
$string = $drawing - > getCoordinates();
$coordinate = PHPExcel_Cell::coordinateFromString($string);
if ($drawing instanceof PHPExcel_Worksheet_Drawing) {
echo $filename = $drawing - > getPath();
$drawing - > getDescription();
copy($filename, 'http://localhost/fps-update/assets/images/upload_product/'.$datass.
'.jpg');
}
}
Aber ich bin immer Fehler wie:
Kopie (http://localhost/fps-update/assets/images/upload_product/product_0051.jpg): failed to open stream: HTTP-Wrapper nicht beschreibbar Verbindungen
unterstützt Bitte hilf mir.
Ok. Danke für die Antwort. Ich werde es versuchen. – Ramya