July 7th, 2005 03:04 PM
What's your hosting company that you're using?
Oh, doesn't matter much anyway. With free hosting sites you tend to get what you pay for. In this case you probably have very limited functionality on that site. No Perl or PHP and probably no ASP either. Maybe not even JSP or other server-side functionality. So SSL security either so just assume this website is just unsafe.
If you want to just test your webbuilding skills, install either Apache or IIS on your own system and start hosting your site on your own computer. Then you can play with this a bit more.
In general, free webhosts will prefer to not host websites that have limited access, simply because that would limit the number of visitors. Those free hosts tend to include small advertisements in your webpages because that's where they get their revenue from. Thus they profit more if your site has more visitors. They won't be happy with those secure pages...
July 7th, 2005 03:26 PM
July 14th, 2005 12:17 PM
I used the code below to password protect a website that I was building.
var pass=new Array()
alert("Invalid password. Please try again!")
The password I disguised was 99026189. So when a user enters the right password, it directs the user to 99026189.html
So say for instance you want to use that above code to password protect your main page, your main page has to be named 99026189.html
See what you can do with this..
Also, look up Google.. you may be able to find some auto code generators.
July 14th, 2005 01:16 PM
July 14th, 2005 01:36 PM
val's little php script works amazingly, so thanks for the extra suggestion, but I think I'm gonna stick with his (no offence) .
July 14th, 2005 01:37 PM
July 14th, 2005 01:40 PM
Thanks for the script anyway...I hope you didn't type that out just for me!
July 19th, 2005 10:53 AM
J_K9, when I meant testing it on your local machine, I really meant it like that too! Doesn't matter if your ISP disconnects you for 30 minutes or maybe even for a whole day. You just install the server software locally and access your own computer locally! You don't even need any Internet connection! It's done all on your local system. At least, that's how I test my own webpages. Try it on your local system by browsing to http://localhost or http://127.0.0.1 or http://YourMachineName or whatever.
If you have two computers and they are connected with a network, you can even install the webhost on one computer and browse to it from the other. You could, for example, an old second-hand computer with not much memory and diskspace, install FreeBSD or Linux on it with Apache and use that one as host for your tests. It only has to be connected to your other system that you'll use to brose to ut.
The biggest advantage? This saves a lot of time uploading all your stuff to this webhost...
Besides, if you want to have a live test with others accessing your site, it shouldn't matter much if it's down even half the time... It's a test, remember?