Negin, That is pretty vague. More details please Richard L. Buskirk Senior Software Engineer/Systems Administrator You can't grow your business with systems that are on life support... -----Original Message----- From: Negin Nickparsa [mailto:nickparsa@xxxxxxxxx] Sent: Monday, May 30, 2011 4:04 PM To: php-general@xxxxxxxxxxxxx Subject: https help hi all, I want to write an application that can be logged to yahoo.com using https protocol Would you please put me some suggestions and advices? if ($_SERVER['SERVER_PORT'] != 443) { header("Location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php