473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

i want to create a login page in which one has option to register his/her profile?

2
i want to create a login page in which one has option to register his/her profile?
And one page where one can upload a file or if has uploaded and wants to make modification can also do?
Last page where there is one alphanumeric box,one big text area box of atleast1000 words,then name box with sufix,then box for alphanumeric data,date box which has calender option to choose the date,then big text box of 2000 words and then in the last date with calender option?So that after filling one can submit it.

All this has to be in PHP AND MySQL.
Aug 31 '10 #1
4 1979
You would need a big code for this. Try googling for "login scripts in php" for some readymade ones
Aug 31 '10 #2
vipan9
2
reply i did but they are not much help.
Sep 1 '10 #3
Then start one by one.

1. Create a table with atleast a id(auto-increment) username, password, name, sex, location, dateofjoining etc.
Make sure that id is of the type integer and autoincrement

Try inserting a fews lines in it through command line ( check if id is autoincremented or not).

2. Write a PHP page with database connection config. Name it dbcon.php, like,

Expand|Select|Wrap|Line Numbers
  1. <?php
  2. $hostName     = "localhost";
  3. $databaseName = "test";
  4. $username     = "root";
  5. $password     = "root";
  6.  
  7. error_reporting(E_ALL);
  8.  
  9. $conn = mysql_connect($hostName, $username, $password) or die("Failed to connect to the database Server. Error: ".mysql_error());
  10. $db=false;
  11. mysql_select_db($databaseName, $conn) or die("Failed to connect to the database. Error: ".mysql_error());
  12. $db=true;
  13. ?>
3. Write another php file (name it login.php) and include the dbcon.php in it, like this,

Expand|Select|Wrap|Line Numbers
  1. <?php
  2. include "dbcon.php"
  3. echo "DB connection is fine";
  4. ?>
Do this much and revert.
Sep 1 '10 #4
kovik
1,044 Expert 1GB
I'd change the steps.
  1. Hire a web developer.
  2. Tell them what you want.
  3. Sit back and wait.

:P
Sep 1 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: X-Killer | last post by:
I've written a website with a login page which uses forms authentication against a username/password table. I've configured the web.config with forms authentication and with loginUrl="login.aspx"...
7
by: Alan Silver | last post by:
Hello, Sorry this is a bit wordy, but it's a pretty simple question... I have a web site, http://domain/ which is a public site, part of which (http://domain/a/) is protected by forms...
6
by: =?Utf-8?B?UGFyYWcgR2Fpa3dhZA==?= | last post by:
Hi All, We have a requirement where we have to develop a custom Login Page which will accept user's NT credentials ( Username , password, domain name). This then needs to be passed to a website...
2
by: ragavi | last post by:
hi all, i am new to asp.net and c#..in my project i want to create login page.. the logic is Administrator creates the Employees... Employees enters all the details about the customer. . ...
1
by: RajaRajeswaran | last post by:
hi friends i m new for asp.net... i want to create login page with validation... so pls send me a code.... I m using user and passward in front page.. pls reply...
1
by: thamaraikeeran | last post by:
how to create login page simply in vb dot net using ok and cancel button and two textboxes for username and password.i want coding for that. kindly reply me.
0
by: kang jia | last post by:
hi i am currently learning Django framework and i have to do a login page at the moment. i have used the code like following: from django.contrib.auth import authenticate, login def...
1
by: dotnetdev1 | last post by:
Hi Friends, I am new to Coding. And I started my Project recently in which they are following a framework. In that framework Login page was already created and I have to continue...
3
by: webmaniac | last post by:
Hi, Does anyone know, How to create a Login Page & read the username & password from xml file. Like my XML file is going to store the username & password. & when user is going to put the...
9
by: adweaver | last post by:
Hello All, I'm new to the world of php. I've just had a site designed for me by a company, and I'm now trying to manage and grow it, so it will suit my needs. The site was built in a folder...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.