<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 09:11:24 +0000</lastBuildDate>
    <item>
      <title>(PHP) Find a file (including subdirectory search) - VisionHive</title>
      <link>https://snipplr.com/view/67021/find-a-file-including-subdirectory-search</link>
      <description>&lt;p&gt;This function searches the current working directory (or any other directory path that you specify with parameter $p) for a file, named $f, and returns the full path and filename of the first occurrence, or false if it is either not found or the maximum number of comparisons is reached. The return value is relative to the executing script, so you can safely pass this function to other file-handling functions, e.g. fopen(FFIND("my.file")); or file(FFIND("my.file"));&lt;/p&gt;</description>
      <pubDate>Sat, 01 Sep 2012 13:39:00 UTC</pubDate>
      <guid>https://snipplr.com/view/67021/find-a-file-including-subdirectory-search</guid>
    </item>
    <item>
      <title>(PHP) Miles to Latitude and Miles to Longitude Converter - VisionHive</title>
      <link>https://snipplr.com/view/67019/miles-to-latitude-and-miles-to-longitude-converter</link>
      <description>&lt;p&gt;There are tons of functions out there to calculate the distance between two points, but what if you know one point and want to calculate the latitude ("vertical") or longitude ("horizontal") equivalent of a fixed distance, in miles? An example application would be in generating a minimum &amp; maximum latitude and longitude bounding box around an area to limit the results of a database query that uses distance from a fixed point.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Sep 2012 13:08:26 UTC</pubDate>
      <guid>https://snipplr.com/view/67019/miles-to-latitude-and-miles-to-longitude-converter</guid>
    </item>
  </channel>
</rss>
