Insert image from another folder in iframe php

0

A webapp of calls. The person will open the call and have the option of taking a photo as evidence. This photo will be sent to the server and its path stored in the database and variable $destino in recebeUpload.php and I need to put an in modalVisualizar.php to display an image that the variable stores. This PHP is within modalVisualizar.php .

<?php
            $destino = $_GET['destino'];
            $s = 
                '<iframe img src="/APIChamados/img/?destino=' .$destino. '" name="mostraEvidencia"></iframe>';
            echo $s;
        ?>
    
asked by anonymous 21.11.2018 / 17:37

0 answers