jonybhi Posted August 19, 2007 Share Posted August 19, 2007 Hello I am asian so my english is not too good. I want to make a site where people can make their account and add their favourite sites. let suppose a person registered an account john and add his favuorite sites: www.yahoo.com www.hotmail.com www.google.com Now a page of URL: http://www.mysite.com/index.php?john contain these three links. This page can open anybody who knows this URL but only edit that person who knows the password. So please help me in making this. I shall be very thankful to you all. Quote Link to comment https://forums.phpfreaks.com/topic/65689-custom-links/ Share on other sites More sharing options...
phpknight Posted August 19, 2007 Share Posted August 19, 2007 Just start coding it. It should not be that difficult, it is just a matter of how much security you need. Even something simple like that needs a database, SSL, etc., but there is nothing too troublesome about it. If you have problems, just post them. Quote Link to comment https://forums.phpfreaks.com/topic/65689-custom-links/#findComment-328193 Share on other sites More sharing options...
jonybhi Posted August 20, 2007 Author Share Posted August 20, 2007 I am just new to PHP. I dont know where to start. Please help me. Quote Link to comment https://forums.phpfreaks.com/topic/65689-custom-links/#findComment-328643 Share on other sites More sharing options...
tibberous Posted August 20, 2007 Share Posted August 20, 2007 The first thing you will need to do is make the page where he registers. Basically, you need to store his name and password somewhere. You could also store his links now, or you can let him add them later. So, make a page called register.php. In this page, make an html form with at least two inputs and a button. Make this form submit to itself, and check to see if it gets any inputs, and if it does, store them. How you store them is up to you, basically either a file or database, with database being the right way to do it. Quote Link to comment https://forums.phpfreaks.com/topic/65689-custom-links/#findComment-328646 Share on other sites More sharing options...
jonybhi Posted August 20, 2007 Author Share Posted August 20, 2007 Ok I have created register.php the code is ------------------------------------------- <html> <head> <title>Register</title> </head> <body> <form method="POST" action="register.php"> <p>User Name:<input type="text" name="T1" size="20"></p> <p>Password:<input type="text" name="T2" size="20"></p> <p>Email:<input type="text" name="T3" size="20"></p> <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p> </form> </body> </html> ------------------------------------------------------- Now I want to add data in MySQL Database. Now please help me in making database and its tables etc. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/65689-custom-links/#findComment-328888 Share on other sites More sharing options...
phpknight Posted August 20, 2007 Share Posted August 20, 2007 If you have phpmyadmin over there, you can start there. Do you have that? Also, if you can find a simple php/mysql book in your language, that will help take you a long way. Because there are a few security issues involved in this, you want to know what you are doing a litlte bit before you start. For instance, a very good registration/login system that allows changes to password, email, and takes security/validation into account takes about 20-40 hours to make. Once you have it, though, you can use it for other applications with very few changes. You could make a simple one in about 2-3 hours, though. Quote Link to comment https://forums.phpfreaks.com/topic/65689-custom-links/#findComment-328918 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.