One of my php scripts is a basic chat page where users point their
browser, enter their info (name and email address, etc) via a cookie
(info.php) and post lines of text.  When they enter their email
address, their name appears on my page with an hype text link that
contains a mailto command (javascript).

The two associated line appear to be

locationstring = "mailto:"; + user + "@" + domain + subject;
window.location = locationstring;

and...

if($atsign != 0) { $emailbox = substr($thisline[2], 0, $atsign);
$emailhost = substr($thisline[2], $atsign+1); $callstring = "<a
href=\"javascript:mailto('".$emailbox."','".$emailhost."','')\">".$thisline[1]."</a>";
}


I was toying with the idea of getting rid of the command to invoke a
"mailto" command and instead insert a command that would place a Skype
call.  That command (for my andyobrien73 account ) is

skype:andyobrien73?call

Anyone any idea how I would modify the original PHP to get rid of
email and add Skype?

Andy

Reply via email to