Martin Milesich

Blog about my self, PHP, FreeBSD and other things that I found interesting…

Entries Tagged ‘PHP’

Protect your FreeBSD box!

I made this simple PHP script because I was tired of getting 400KB security run output emails from my FreeBSD box. It's written in PHP because I'm not good in shell scripting.
Every minute it checks for line like this
Feb 5 01:40:02 kyle sshd[939]: Failed password for root from 80.86.75.67 port 11807 ssh2
in the auth.log [...]

Comments (1)

Zend Studio 5.5 on FreeBSD 6.2

In this post I'm going to write about how to run Zend Studio 5.5 on FreeBSD 6.2. FreeBSD isn't officially supported by Zend therefore you can't use their support.
I'm using the trial version of Zend Studio 5.5 and I think I will buy it soon. It's the best PHP IDE that I've tried. Who knows [...]

Comments (1)

Calculate geodesic distance between two points

/**
* Calculate geodesic distance (in meters) between two points specified by
* latitude/longitude using Vincenty inverse formula for ellipsoids
*
* from: Vincenty inverse formula - T Vincenty, "Direct and Inverse
* Solutions of Geodesics on the Ellipsoid with application of nested
* equations", Survey Review, vol XXII no 176, 1975
* http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf
*
[...]

Comments (9)

  
  • Certificates


  • Nike+

  • Categories

  • Links

  • Recent Posts

  • Petition

    stopsoftwarepatents.eu petition banner
  • Archives

  • Meta