Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- mysql connect or die (image) header type png


Hitman3266 - 2:49 pm on Mar 1, 2008 (gmt 0)


no its a dynamic image script, and to fetch it i use

'<a href="http://site.com/script.php?name=' . $profile['user'] . '" target="_blank"><img src="http://site.com/script.php?name=' . $profile['user'] . '" alt="' . $profile['user'] . '" border="0" /></a>',

now if this user exists, it LOADS fine, but if it cant connect to mysql server, it gives the DIE, and SHOWS THE ALT text, the headers dont get sent during the die command it shows the ALT text, when it LOADS fine it sends the headers cause headers are at the end of the script


Thread source:: http://www.webmasterworld.com/php/3588753.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com