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>Waiting for your positive reply.
Prince.
feyd | Please use
Code: Select all
andCode: 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]