Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage
Php > Cookies sample source codes
Complete, simple working example of login screen and check on a unique
Complete, simple working example of login screen and check on a unique page using php functions cookies and mysql database. "; //The use of the http header is inconsistent with many browser if you have //already setted a cookie. So, after the setcookie command the script uses //the meta tag to obtain the same result. }else{ header($loc); } }else{ ?>
Login</title>
Welcome!</b></font></center>
Username:</td>
</td></tr>
Password: </td>
</td></tr>
</td></tr> </form> </table> </html> "); } } //After here the actual page starts and only registered user can see it. ?>
Privacy Policy
|
Link to Us
|
Links