tawm Posted October 19, 2007 Share Posted October 19, 2007 I'm making a rotator image using PHP, I have the code, it works great. Only problem is that the site I want to post it on doesn't allow me to post it. The file is here http://tawm.freehyperspace.com/RotatorImage/rotate.php I'm using <img src="http://tawm.freehyperspace.com/RotatorImage/rotate.php"> to post it; but, this is the error message when I try to post it You can only embed src files that end in: .jpg .jpeg .gif .bmp .png .midi .wav .mp3 .mid I know it's possible to post rotator images coded with PHP if the PHP file will render as a .png, how would I go about setting it to render as a .png? Or will I need to use a different host, and if so: can anyone recommend a better one? Link to comment https://forums.phpfreaks.com/topic/73919-solved-php-rotator-image/ Share on other sites More sharing options...
enoyhs Posted October 19, 2007 Share Posted October 19, 2007 If I'm right I think they are checking extension of file not content, if so I don't think you can use that there. Link to comment https://forums.phpfreaks.com/topic/73919-solved-php-rotator-image/#findComment-373009 Share on other sites More sharing options...
GamingWarrior Posted October 19, 2007 Share Posted October 19, 2007 Here is the trick, rename it to index.php and put in a folder called wateva.png Link to comment https://forums.phpfreaks.com/topic/73919-solved-php-rotator-image/#findComment-373027 Share on other sites More sharing options...
tawm Posted October 19, 2007 Author Share Posted October 19, 2007 It worked perfectly Thank you so much! Link to comment https://forums.phpfreaks.com/topic/73919-solved-php-rotator-image/#findComment-373030 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.