Jump to content


This topic is now archived and is closed to further replies.


PhP member register and login form

Recommended Posts

Hello there.
My name is Michael.

And i got a little problem here.
Im trying to make a site that is complete coded in PhP
Well almost:)

And i got true most of your tutorials.
But im still a noob when it comes to php.

I know what includes does and print,echo
and If and else a little.

But i will get to the point here and tell my problem.
I got this php index site
And i even got some of my pages linked to a content on the index.php.
On the right site of my screen like a iframe in html.

But when it comes to a member register and log in form.
It will show it in the content on the index.php,
but when i try to register or login it gives me a parent screen,
so it will not be in the content like i want it to do.

Can some 1 plz help me with that i havent got a clue how to do that.
And im pretty sure i scrolled all of the google pages.
Esspecialy right here at PHP Freaks.
I tried really every thing that i know even to think logical.
if ($login)susses)) {
else $login=false
or some thing like that

So if some 1 woulld help me plz.
I got Msn So if some 1 got Msn
here is my Msn nr

Grtz Michael

Share this post

Link to post
Share on other sites
There's hundreds of authentication tutorials around and about. Search this forum and google for things like

php mysql authentication
php authentication
php login system
php mysql login script

It's plastered enough over the web that I don't think someone would spend the time writing the code for you.

Share this post

Link to post
Share on other sites
Oh no that is not what expect from them

Its just that i have tried any thing what i could think of.
And the member register files i have.
Its just that i cant place all of these files in 1 content after a login.
It gives me a parent screen.
example: Of my Index file

<title><?php echo title;?></title>
<link href="style.css" rel="stylesheet" type="text/css" />
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]<?php[!--colorc--][/span][!--/colorc--]
if (empty($content)) {

function changelocation($content) {
include ('header.html');
echo '<table cols="2" border="1" cellpadding="10" cellspacing="0" align="center" width="75%" height="78%">';
echo '<tr>';
echo '<td width="120" height="75%" bgcolor="#FFFFFF" valign="top">';
echo '<img src="images/menu.jpg">';
echo '<a href="index.php?content=main" ><li>News</li></a><br>';
echo '<a href="index.php?content=templates" ><li>temp</li></a><br>';
echo '<a href="index.php?content=login" ><li>Drawings</li></a><br>';
echo '<hr>';
echo '<img src="images/menu1.jpg">';
echo '<a href="redirect.php" target="_blank"></a><br>';
echo '</td>';
echo '<td bgcolor="#FFFFFF" valign="top">';
switch ($content) {
case 'main':
include ('main.html');
case 'temp':
case 'login':
echo '</td></tr></table>';
include ('footer.html');
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]?>[!--colorc--][/span][!--/colorc--]

But i will take a look at the links you posted maybe its there.
Tnx any wayz

Grtz Michael

Share this post

Link to post
Share on other sites
So many pros and no 1 has a solution or wont give it.

Im not asking to code it for me i will do it my self that way i learn from it.
But i tried really almost any thing i could think of and any thing i read.

Hey i read posts in here ordering for help and they get it.
And im asking nice and dont get any thing Strange if you ask me.

well going to find it some how no matter what.

Grtz Michael

Share this post

Link to post
Share on other sites
You can delete my account here im not coming back.

And if you want you can even bann the ip i dont care.
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--][b] PHP Help Forums > PHP and MySQL > PHP Help >[/b][!--colorc--][/span][!--/colorc--]

A help forum??

The only help i got whas to go and read things that has nothing to do with my problem.
I come from the netherlands
But my post whas very wel written in english so that could not be the problem.

That i got send in to the wrong direction.

well im going to search some where else.

never again on this site.


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.