Log in

View Full Version : a working register and a login button required



souravsaha86
03-28-2006, 06:49 AM
i want members to register on my website and then login to access my web page completely. can i hav the html codes for that? ya i will put my site on a free domain, free host. so can it be possible then? also i want the number of users online on my website to be shown at the top of my website and each user should be given a welsome message on entering my website. it should work ideally like this "WELCOME ......ip address " and once the member registers and logs in i want this display "WELCOME .....member name " it would be really nice if someone cud form the code for me. long codes could scare me as i am not the greatest scientist:eek: all friends plz help me with ur suggestions. uptill now this is what my website looks till now.

http://rapidshare.de/files/16609241/hello.html.html

all suggestions are welcome. thanks to dynamic drive and all members who help others here. its a great club.:D

djr33
03-28-2006, 07:00 AM
That stuff is more advanced than not 'long codes' and probably won't even be supported by a free server.
You might be able to fake some of it with javascript or something, but short of that, you're talking about basically using php, asp or something and setting up a database with users. That'll be some intense programming for you.

the number of users online is the same deal, but you can get page counters around. Just google for 'hits counter' and it'll be a graphic showing just how many times your site has been visited.

souravsaha86
03-28-2006, 08:19 AM
ok tell me little, try and giv me some codeings if u can, lemme c if i can understand something.


i want members to register on my website and then login to access my web page completely. can i hav the html codes for that? ya i will put my site on a free domain, free host. so can it be possible then?
this is my script till date:
http://rapidshare.de/files/16609241/hello.html.html

.:D

Twey
03-28-2006, 09:30 AM
You're asking djr33 to cover in a single post a topic on which books have been written. If it's PHP tutorials you want, see http://www.php.net/.

.alias.
03-28-2006, 02:52 PM
Yea to be able to do this we can't just give you a chunk of html code, we need to know what host you will be using and if it is compatiable with PHP , ASP and MySQL or another database. We need to no if you know any coding at all and will understand and will be able to set up the code correctly. Also it takes alot of time your not just gonna get it like that

djr33
03-29-2006, 01:46 AM
You CAN'T do this without at LEAST complex javascript. PHP would probably be easier than JS, actually, but a bit more advanced a technology in the first place.


The basics:
Setup a database, have people enter their names into it with passwords, then compare to those when they login. Then worry about security, how to actually code all of this and what PHP scripts you'll use to make sure people NEED passwords.


Also, seriously, what will you need this for if you can't code anything? If you just want a password protected page or two, then there's a much easier way.
If you want more, then you'll need to learn php or js or something anyway, so.... why not start here?

souravsaha86
03-29-2006, 09:33 AM
i hav hosted my site on http://xthost.info
my website is at
http://xthost.info/souravsaha86

another host which i tried was www.freewebs.com
this is my site location on freewebs http://www.freewebs.com/souravsaha86/hello.html

so now any idea buddies as to whether or not register and login stuffs can actually be made for free on my webpage? my web page is best viewed in internet explorer and firefox. ya i kno some of html. but honestly i am quite new to web design and dont kno much or any of php. buddy how can i set up my own database at this stage, i am so new :eek: and can a database b done in free:eek: ya if u want then u can see the script of my webpage by going to view and clicking page source. replies will b welcome.

djr33
03-30-2006, 05:55 AM
I doubt you'll get databases for free. Or php, for that matter.

You can't do it without. (unless you use another system).

But... for security reasons, free hosts wil generaly limit what you can do... yep.