| | |
securing user page links
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved
![]() |
Look into using sessions for authentication. Basically the idea is:
php Syntax (Toggle Plain Text)
<?php session_start(); if($_SESSION['loggedIn']==true){ echo "This content will only be viewable for users who are logged in"; } else{ echo "You are not logged in"; }?>
Lost time is never found again.
- Benjamin Franklin
- Benjamin Franklin
![]() |
Other Threads in the PHP Forum
- Previous Thread: include function not working URGENT!
- Next Thread: Problem with dynamic paths
| Thread Tools | Search this Thread |
apache api array basic beginner broken cache cakephp class cms code computing confirm cron curl customizableitems database date delete display dynamic echo email error fcc file filter folder form forms forum freelancing function functions gc_maxlifetime google header headmethod howtowriteathesis href htaccess html iframe image include incode ip javascript joomla limit link login malfunction memmory memory menu method mod_rewrite multiple mysql navigation neutrality oop pagerank parsing paypal pdf php phpmysql play query question random recursiveloop root script search select server sessions sms snippet soap source space sql support! system table template thesishelp trouble tutorial upload url variable video web window.onbeforeunload=closeme; youtube





