Sunrise - Sunset PHP Script by Mike Challis
Free PHP Scripts - www.642weather.com/weather/scripts.php
Download         - www.642weather.com/weather/scripts/sunrise-sunset.zip
Live Example     - www.642weather.com/weather/sunrise-sunset.php
Contact Mike     - www.642weather.com/weather/contact_us.php
Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2319642

Version: 1.06 - 18-Jul-2009  see changelog.txt for changes

**Requires PHP 5** 
(PHP version 5.1.3 or higher is recommended due to date_sunset bugs in prior versions)

Support thread at weather-watch forum:
http://www.weather-watch.com/smf/index.php/topic,32040.0.html

You are free to use and modify the code

This php code provided "as is", and Long Beach Weather (Michael Challis)
disclaims any and all warranties, whether express or implied, including
(without limitation) any implied warranties of merchantability or
fitness for a particular purpose.

-----------------------------------------
Usage
-----------------------------------------

Set the settings inside the script.

This script will print something like this:
Good day
Sunrise: 05:22 AM PDT
Sunset: 09:14 PM PDT

To use it, put this code in your php page where you want it displayed:

include 'sunrise-sunset.php';

-----------------------------------------
Live Example
-----------------------------------------
You can see my Demo Script here: (my location is Long Beach, WA USA)
http://www.642weather.com/weather/sunrise-sunset.php


-----------------------------------------
Donate
-----------------------------------------
A paypal donate button is on my scripts page
www.642weather.com.com/weather/scripts.php
or use this direct link:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2319642


