Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

274
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!