perosf Posted September 13, 2009 Share Posted September 13, 2009 Hello. I hope that will help me with this code. <?php function getSkypeStatus($username) { $remote_status = fopen ('http://mystatus.skype.com/'.$username.'.num', 'r'); if (!$remote_status) { return '0'; exit; } while (!feof ($remote_status)) { $value = fgets ($remote_status, 1024); return trim($value); } fclose($remote_status); } function getSkypeStatusIcon($username) { $status = getSkypeStatus($username); if($status == 0 || $status == 1 || $status == 6) { echo '<img src="skype-icons/'.$status.'.png" alt="call '.$username.'" />'; } else { echo '<a href="skype:'.$username.'?call"><img src="skype-icons/'.$status.'.png" alt="call '.$username.'" /></a>'; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Skype web status </title> </head> <body> Skype Status: <?php getSkypeStatusIcon('skecot'); ?> </body> </html> So I want this code to add a paypal s before my ring to pay and then to allow me to ring. Is it possible something like that. I hope there will be someone to help me. Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.