Jump to content

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.
like:
if ($login)susses)) {
&login=true
}
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
MJFAR@hotmail.com

tnx
Grtz Michael
Link to comment
https://forums.phpfreaks.com/topic/7319-php-member-register-and-login-form/
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.
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>
<head>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]<?php[!--colorc--][/span][!--/colorc--]
$content=$_GET['content'];
if (empty($content)) {
$content='main';
}
changelocation($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');
break;
case 'temp':
include("temp.html");
break;
case 'login':
include("login.php");
break;
}
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
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
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??
RIGHT??

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.

cya
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.