Planning to develop php app
Posted: Sat Jul 16, 2011 2:56 am
Hey Guys,
First time here. lol.
I have a question and I'm basic user to php and I edited so much php files and so far here.
Now I wanted to develop a php application.
I'll give you a run down of what my application will be. Basic for right now.
1) It will be a members application
2) Register Form
3) Login Form
4) Profile Area
Now I'm little lost of how I will get get the application developed.
I'll have those files in the main directory of the site. Examples of it... index.php, register.php, login.php, profile.php,
Inside of those files, will this work this way?
for register.php
Now I know we need to put the database info, but I hear that we should create our own database connection info php file and add the include function for the database so it can do the work.
Sorry for the bad English, not strong in it.
Can anyone give me a shoot and tell me where I could start and I would be happy!
Thanks!
Sorry if I posted in the wrong area.
First time here. lol.
I have a question and I'm basic user to php and I edited so much php files and so far here.
Now I wanted to develop a php application.
I'll give you a run down of what my application will be. Basic for right now.
1) It will be a members application
2) Register Form
3) Login Form
4) Profile Area
Now I'm little lost of how I will get get the application developed.
I'll have those files in the main directory of the site. Examples of it... index.php, register.php, login.php, profile.php,
Inside of those files, will this work this way?
for register.php
Code: Select all
<?php
public function submitinfo
//do the work!!!
?>
<html>
<body>
<form action="register.php" method="post">
<p>First Name:
<input name="firstname" type="text">
</p>
<p>Last Name:
<input name="lastname" type="text">
</p>
<p>Email:
<input name="email" type="text">
</p>
<p>Password:
<input name="password" type="password">
</p>
<p>Comfirm Password:
<input name="password2" type="password">
</p>
<input name="submitinfo" type="submit">
</form>
</body>
</html>
Sorry for the bad English, not strong in it.
Can anyone give me a shoot and tell me where I could start and I would be happy!
Thanks!
Sorry if I posted in the wrong area.