me.prosenjeet
03-31-2011, 12:56 PM
Hello all,
Can you please suggest what I should do?
I have a script which has the old flow chart feature...
"If this then that else this"
if ($diff<=0)
{
if (strpos($deactivate,"://")!==FALSE) { header("Location: $deactivate\n\n"); exit; }
show($deactivate);
}
else
{
show($active);
}
?>
$deactivate/$active are actually two html/php page that will show as per condition.
How can I add a feature/code so that before showing $deactivate there is a session when the user can enter his email(may be a popup) and that is sent automatically to the admin when $deactivate page opens.
Thanks in advance for the help, appreciate if the explaination is simple and for a novice like me
Can you please suggest what I should do?
I have a script which has the old flow chart feature...
"If this then that else this"
if ($diff<=0)
{
if (strpos($deactivate,"://")!==FALSE) { header("Location: $deactivate\n\n"); exit; }
show($deactivate);
}
else
{
show($active);
}
?>
$deactivate/$active are actually two html/php page that will show as per condition.
How can I add a feature/code so that before showing $deactivate there is a session when the user can enter his email(may be a popup) and that is sent automatically to the admin when $deactivate page opens.
Thanks in advance for the help, appreciate if the explaination is simple and for a novice like me