PDA

View Full Version : checking source link and giving permission


ynotlim
12-06-2006, 05:07 PM
is it possible to do this?

if("linkingfrom".equals(www.google.com)){
output+= "alert('Granted Access');"; }
else{
output+= "alert('You do not have permission to enter this page.');
}

what do i put in for linking from??

Thanks Tony