waynew Posted July 16, 2009 Share Posted July 16, 2009 I'm pretty sure this isn't a problem with my code. I've just began designing a template for a site and I've ran into a pretty strange problem. I saved a .png image file to an images folder on my localhost, but when I tried to view that image with the browser and/or place it in my template via a CSS file, the browser acted as if it doesn't exist. I'm 100% sure that the image is there and that the URL of the image in my CSS file is correct. I tried deleting my Internet history and trying again, but no. I then deleted my Internet history again and tried with IE, but that couldn't pick it up either. Yet when I navigate to it with Windows Exporer, I can see it and view it. It has never done this before? And I haven't changed any Apache or PHP settings.... Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/ Share on other sites More sharing options...
ober Posted July 16, 2009 Share Posted July 16, 2009 I'm willing to bet your path is wrong. Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876406 Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 No, definitely not. Just a few seconds ago it showed; then I refreshed (without changing any code) and it didn't show. Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876499 Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 Found the problem. In my home directory, I had an old .htaccess file from another site that I must have moved there while doing something or another. The file was protecting against hotlinking. Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876555 Share on other sites More sharing options...
.josh Posted July 16, 2009 Share Posted July 16, 2009 Found the problem. In my home directory, I had an old .htaccess file from another site that I must have moved there while doing something or another. The file was protecting against hotlinking. No, definitely not. Just a few seconds ago it showed; then I refreshed (without changing any code) and it didn't show. I guess that means it isn't doing a very good job at protecting? Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876585 Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 It was a file that was only supposed to be used on another online website. Just screwed up my localhost when I left it there. Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876635 Share on other sites More sharing options...
.josh Posted July 16, 2009 Share Posted July 16, 2009 For some reason I read that, and the following conversation took place in my head: "Damn bitch, it's not my fault you got pregnant! I used a condom. Not my fault it was made for someone with a dick 3x bigger than mine!" and then she says "No, you're dick is 3x smaller than the average." Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876649 Share on other sites More sharing options...
waynew Posted July 16, 2009 Author Share Posted July 16, 2009 But my penis is large. Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876770 Share on other sites More sharing options...
.josh Posted July 17, 2009 Share Posted July 17, 2009 I was projecting. Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876792 Share on other sites More sharing options...
waynew Posted July 17, 2009 Author Share Posted July 17, 2009 Me too Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876795 Share on other sites More sharing options...
.josh Posted July 17, 2009 Share Posted July 17, 2009 wanna compare projection sizes? Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876817 Share on other sites More sharing options...
ober Posted July 17, 2009 Share Posted July 17, 2009 Link to comment https://forums.phpfreaks.com/topic/166192-solved-what/#findComment-876862 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.