DIGIT-ARC read-only archive · snapshot: July 23, 2026

Need help regarding web development

6 posts · originally from https://geek.digit.in/community/threads/need-help-regarding-web-development.132591/

C
chirayu garg Original post #1
Oct 6, 2010 at 1:39 AM
I have to make a login page for some purpose.I am confused whether I should javascript for it or php . As i know none of the languages very well except some very basic syntax can someone plz help regarding how should i go about developing the webpage and give me the code or atleast the basic pattern if someone already have it.

Anyhelp will be appreciated. Thanks in advance!
manaskumar
Oct 6, 2010 at 1:44 AM
Implementing code for login in php would be more good.
First make simple php page with normal Username and password text box.
On submitting call another php page in which your authentication logic would be written.
C
Oct 6, 2010 at 1:54 AM
@manaskumar plz tell in more detail like how to write code in WAMP or wherever you know,how to maintian the database.
manaskumar
Oct 6, 2010 at 2:56 AM
Start with basic page which contains a form
<form action="access.php">
<input type="textbox" name="username" />
<input type="textbox" name="password" />
</form>

the second page access.php would contain
<?php
if ($_GET["username"]=="kumar" && $_GET["password"]=="manas")
then echo "Logined!!"
else
echo "Failed"
?>


You can try this. Also you can pull data from database for comparison of password.
For more detailed tutorial try PHP Tutorial.
C
Oct 7, 2010 at 1:17 PM
Any more suggestions people out there.
cute.bandar
Oct 7, 2010 at 4:14 PM
Google for "php login script" . You will get plenty of examples.
For learning php . the best solution that i found was to download lynda.com's video tutorials for learning php and mysql. you can find it on torrents.