Page 1 of 1

Urgent help required. For PHP Login Page!!!!!

Posted: Fri Sep 02, 2005 12:33 pm
by prince09
Hi to all,

I am new here and begigner for PHP. I have to develope a PHP login page with session and cookies. And some advance function. I search the net and found many good tutorials, but unfortunately none is running on my PC. I am very confuse and don't know what to do now?

I have used Creating a Login Script with PHP at evolt.org and free2code. But i am not able to run those scripts.

If any of you please point to some good PHP login page code with session and cookies than it will be a great help to me. I am using PHP 5, IIS and My SQL. Below is the sample test script for my My SQL database and it is working perfactly.

Code: Select all

<html>
<head> <title>MySQL Test</title> </head>
<body>
<h1>
<?php 
	$connection=mysql_connect("localhost","root","uer1h") or die("Could not connect to MySQL");
	echo "Successfully connected to MySQL";
?>
</h1>
</body></html>
So, if you find some time than please tell me how to run those script on my machine. I have to submit my work in 2 days and i am in a big trouble. I hope i will find some help from you guys.

Waiting for your positive reply.

Prince.


feyd | Please use

Code: Select all

and

Code: Select all

tags where approriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]

Posted: Fri Sep 02, 2005 12:38 pm
by Raven-flock
First of use the Code or PHP tags and second of all you shouldnt use html tags before php tags without putting <?php ob_start(); ?> and try going to http://www.google.com and search for php login scripts you might find some good ones there thats where i started out and i learned alot on making good login scripts

Posted: Fri Sep 02, 2005 12:43 pm
by prince09
Raven-flock wrote:First of use the Code or PHP tags and second of all you shouldnt use html tags before php tags without putting <?php ob_start(); ?> and try going to http://www.google.com and search for php login scripts you might find some good ones there thats where i started out and i learned alot on making good login scripts
Hey, Raven thanx for the prompt reply. Can you please send me your login scripts to me. It's a great help to me. I am new to PHP and i have to submit it today.

Thanx in advance.
Prince.

Posted: Fri Sep 02, 2005 12:43 pm
by feyd
what specific parts are troubling you? Or do you need explainations? Or nudging?

Posted: Fri Sep 02, 2005 12:47 pm
by prince09
feyd wrote:what specific parts are troubling you? Or do you need explainations? Or nudging?
Hi,

I am new to PHP and session and cookie concept is very confusing to me at this time. Can u plz find ur some time to send me a login script which runs perfectly. It will be a great help to me.

Sorry for the pathetic ignorance.
Chintan.

Posted: Fri Sep 02, 2005 12:50 pm
by John Cartwright