RE: [PHP] https help
| From: | admin at buskirkgraphics dot com | Date: | Mon, 30 May 2011 21:37:50 +0000 |
| Subject: | RE: [PHP] https help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313250@lists.php.net to get a copy of this message | ||
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@gmail.com]
Sent: Monday, May 30, 2011 4:04 PM
To: php-general@lists.php.net
Subject: [PHP] 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']);
}