here is the script that i been working on , it is supposed to integrate user and pass when opened
You forgot to put quotes and the tag around $link's value.
$link = "";