Link Addition Result
Creation Failed!!!
\n");
echo("Link of that name exists at that level
\n");
}
else
{
$time = chop(ctime(time()));
$host=$REMOTE_HOST;
if( $host == "" )
{
$host=$REMOTE_ADDR;
}
$query = "insert into links (type,parent,path,name,url,owner,email,description,datetime,host,addedby) "+
" values ('$type','$qParent', '$qParent/$qName', "+
"'$qName','$url','$owner','$email','$description','$time','$host','$addedby')";
if (msqlQuery($sock,$query) < 0)
{
fatal("Error : $ERRMSG\n");
}
echo("Link added!
\n");
}
$urlParent = urlEncode($parent);
>