How To Print Image Just On Side Where Upload Php

[Solved] How To Print Image Just On Side Where Upload Php | Php - Code Explorer | yomemimo.com
Question : how to print image just on side where upload php

Answered by : brainy-baboon-yy4hjtuf4idx

<?php    $galleryPath = "Gallery/";        $descriptions = new DOMDocument("1.0");    $descriptions->appendChild($descriptions->createElement("files"));        while (($uploadedFile = UploadedFiles::fetchNext()) != null){        $sourceFile = $uploadedFile->getSourceFile();        $sourceFileName = $sourceFile->getFileName();            $descriptionsFile = $descriptions->createElement("file");        $descriptionsFile->setAttribute("name", $sourceFileName);        $descriptionsFile->setAttribute("width", $sourceFile->getWidth());        $descriptionsFile->setAttribute("height", $sourceFile->getHeight());        $descriptionsFile->setAttribute("description", $uploadedFile->getDescription());        $descriptions->documentElement->appendChild($descriptionsFile);                    $sourceFile->save($galleryPath. "/" .$sourceFileName);    }            $descriptions->save("Descriptions.xml");?>

Source : https://www.aurigma.com/docs/iu/WritingClient-SideScriptandHandlingUploadusingImageUploaderPHP.htm | Last Update : Sat, 25 Jul 20

Answers related to how to print image just on side where upload php

Code Explorer Popular Question For Php