Reply to Re: Anyway to check if refer site is using SSL or not????

Your name:

Reply:


Posted by Ray Paseur on 11/24/05 15:23

<snip> verify that the site sending the data is using SSL(https). Is there
any way of validating that in PHP? </snip>

You might check the referer field $_SERVER['HTTP_REFERER']
It will be blank if there is no referer link, and so it won't always show up
in phpinfo. Try these two scripts and see if that helps:

<?php // phprefer.php
echo "<a href=phpinfo.php>phpinfo</a>
?>

<?php // phpinfo.php
phpinfo();
?>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация