-
cURL Tips – HTTPS requests
Posted on December 15th, 2009 No commentsToo many times have I seen this in cURL clients: curl_setopt ( $ch , CURLOPT_SSL_VERIFYHOST , false ) ; curl_setopt ( $ch , CURLOPT_SSL_VERIFYPEER , false ) ; Why is this bad? You leave yourself totally open to man-in-the-middle attacks, and makes SSL virtually pointless. Sure the data passed between the two servers would still be encrypted, but there is no way of verifying the server you’re talking to is the server you WANT to be talking to! My recommendation is that you verify the server is genuine by checking against the genuine CA certificate in PEM format.
See original here:
Sphere: Related Content
cURL Tips – HTTPS requests
17, 5, BT, IDE, James, OS, Read, Top, URL, ad, amp, api, blog, cURL, certificate, change, check, client, coding, data, form, format, fun, function, host, http, https, in, ing, int, internet, less, like, me, name, no, one, open, php, problem, request, server, servers, site, ssl, talk, time, to, tutorial, ua, verifyhost, verifypeer, virtual amp, check, cURL, fwo, internet, leave-yourself, open, passed-between, php, problem, Read, talk, tutorial, verifypeer -
Master Master Replication on MySQL 5.1
Posted on May 6th, 2009 No commentsNot much for me to say here that isn’t covered in the following tutorial: http://www.howtoforge.com/mysql_master_master_replication Aside from the comments I made there, which I hope they include, if not I’ll update this post with those comments in due course Related posts: Getting Wordpress To Ping Google Blog Search I noticed today that my blog wasn't included in Google... How to filter user submitted data easily in PHP? How to filter user submitted data easily in PHP
Go here to read the rest:
Sphere: Related Content
Master Master Replication on MySQL 5.1
17, 5, Chris, Databases, Google, IDE, OS, RDP, Search, Wordpress, blog, book, click, code, comment, data, double, fact, filter, get, howto, http, ice, include, map, me, mysql, php, post, posts, sub, submit, tutorial, update, web, website, word, www double, fact, howto, include, map, permanent-link, thought, tutorial, www












































