I'm messing around with different ideas for showing photos etc and something has really stumped me.
I can go to a website and view pictures of cars for sale (I won't name it, just using it as an example). The site uses the exact same bit of code that I'm looking to implement yet when I do so I get asked if I want to run scripts or activex etc. Now, this website is definitely running scripts. I thought I would check the code out to see if something clever was put into it to bypass the checks or something but I found nothing.
The REALLY strange thing is that if I save the index of the forum and open it, it works fine. If I then open the page in notepad, don't touch a thing, then re-save it with a different name.... I then get the scripts warning when I try to open it.
Is there a file signature or something like that? I'm finding it really strange that opening a file and saving it in a different location would make any difference to how it operates. At first I tried it with wordpad, so I assumed some formatting must have remained or something. Notepad retains nothing that I know of though?
It's not really much of an issue, just more of a curiosity than anything. I know very very little about web development so thought I would ask on here as I know a few of you guys are into it as a hobby/living etc.
Thanks