I have a section of my website where I will have forms. I only want people who have registered with the site to be able to use these forms so that I only have serious customers using them. So what i want to have is a way that people can register on the site and once registered the area with the forms will be available to them and I will know who has sent me a form etc.
+2
A:
use session for example after he login use session_register("myusername");
and in your website, put this
session_start(); if(session_is_registered(myusername)) { // your forms };
cosy
2010-04-24 09:32:21
+1
A:
after he login use $_SESSION['login']=1;
if your site :
if(isset($_SESSION['login']))
{
// your forms };
cosy
2010-04-24 09:35:51