Gradient Image

Description: This script takes a height, width start color and end color (In hex) and generates a vertical gradient jpeg using GD. The script is written so it can be called from an image tag like this:
&lt;IMG SRC='gradienti.php?h=400&w=600&sc=FF0000&ec=FFFF00'&gt;