class display image php

0

Is it possible to display an image through a class's methods without requiring an external file to not generate header conflict?

I created a class where to depend on call an image in a protected folder, generate an image with text or display a qrcode, so alright the question is that I needed to create a file where I just instantiate the class and call the method and in another html file call this file only with class and method

home.php

<img  style="width:100px" src="<?php echo  BASEURL.LIBS; ?>teste/qrcode/token[121212]" > 

test.php

$imagem = new Teste();
$imagem->exibirQrCode();
    
asked by anonymous 25.07.2016 / 00:23

0 answers