Link to php generated image

A

Anonymous

Guest
Hi (updated this post due to link issues...)!

How come my php image shows up when I go to it directly in the browser, but does not show up when I use <img src with the exact same link?

Works: "http://dev.medinsbiologi.se/vattern/datachart_1Yavg.php?Parameter=pH&Lokalnamn=1050. Pirkåsabäcken, Brogårdssand&Kl1=0&Kl2=0&Kl3=0&Kl4=0&Datatab=A_Vattenkemi" (Note the special characters, do not click the link but use copy paste if you want to test...)
Does not work: http://dev.medinsbiologi.se/vattern/test.aspx (see source)

I'm guessing it is a matter of url-encoding, but I have tried multiple ways without success. My src-url is generated in aspx, and maybe this is the problem. Apparently php can handle the direct browser url, but not the html-enclosed.

Please point me in the right direction!

Regards, Martin
 
Turns out changing the aspx-file format to UTF-8 solved part of the problem.

Still my SQL queries are acting up. Passing aspx variables to php is a nightmare...
 
Back
Top