Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

282
Visualizações
image not appear, img base64 decode not working

After moving to a new server, many function of my apps are not working. It works again after installing some PHP extension, but this one is still not working. I never changed anything in my app because I'm not good at coding.

<img src="http://'.$_SERVER['HTTP_HOST'].'/gallery/'.base64_encode('../media/'.md5($cm.'manf').'/'.$t['photos']).'/'.$cm.'/'.$t['name'].'.png"/>

Image is not showing on my page. Honestly, that base64_encode value is correct. I've tried to decode its value on https://www.base64decode.org/ and the result is correct.
The problem is: why that value is not rewritten to img url source? Still trying to figure it out, maybe the problem is not in the code, but on my web-server or something else.
Any advice is very appreciated.

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda