Hey, does anyone know how to make a site self execute, as in, without it being on the web, one can execute it. maybe an exe file or stin?
OH WOW - there aren't even WORDS that will accurately capture how bone-meltingly SCARY this post sounds to me. What it sounds like to me is malware or something creepy like that. Please explain the functionality you're looking for, when your site opens, how it opens, where this file would be stored so we can hopefully begin to think of possible solutions. If you just want a site that people can view, any HTML files can be viewed from a local drive. If you put a static HTML website on a CD and gave it to anybody in the world, they could view it without being online. Now, databases and PHP and all that goodness require a little something along the lines of a web server to run. That's not going to be very easy, if possible at all (unless you're distributing this to a select few using a specific hardware and software configuration) It's not uncommon for files like README's to be saved in HTML format to give them a little extra formatting and goodness, I know the Sauerbraten documentation is a very extensive 'offline website' that far surpasses anything they have on their actual website as far as game documentation goes. As for an EXE or something worse - windows only, and people don't like 'em. If you try to have an EXE auto-execute that screams 'I'm a Virus!' to any virus scanner worth it's weight in AOL cd's. Please be more clear so we can help you.
Well, i need to submit a site for a competiton, And i need to send it on a cd, any they said that they should be able to view it without any third part programmes or wtv.
Create a file called AUTORUN.INF, and put something like this in it: [autorun] ShellExecute=index.html icon=index.html SO on your CDR you should have: AUTORUN.INF index.html etc... That should work on most Windows machines. No idea how to do it on Linux or Mac. Click this for more information -----
As innovati has partially said - you'll only be able to use HTML but you'll also be able to use CSS and Javascript along with Flash and a couple other bits and pieces. As for user interactivity - nope as you'll need a server of sorts at hand. Kerosene has posted something I'd forgotten about that I have used for a picture gallery for a relative. Insert the CD into the drive and Windows will start it automatically calling up a browser pointing to index.html.
the autorun.inf auto-start thing will try to auto-run it. And most smart windows users will have autorun turned off so this may be seen as a rude gesture, you trying to overpower their user control. If they are professionals and judging this thing I'm sure they have the technical wherewithall to insert a DVD and open the file. Also, the autorun thing assumes they they are running windows. It only have a chance of running on windows. So, for professionalism's sake, I think it would be smarter and nicer not to try to autorun, or to throw potentially totally useless files in there if they've got a mac - it sure won't help you.