$configFile1 = "http://www.greenwow.com/featured3.txt";
$configFile2 = "http://www.greenwow.com/featured3.txt";
$linkSeparator = "
"; //what html code to insert between different links
$displayDescription = 1; //can be 0 or 1
$linkCategory = "alpaca"; //can be "all"
Alpaca Photos / Pictures of Alpacas
Submit your favorite pictures of your alpacas!
Do you have a funny alpaca picture, a scenic picture of your alpacas or alpaca farm, an alpaca photo of a newborn cria, or some other interesting photograph of alpacas? If you do you can send them to AlpacaPic.com and we will post them to our site. You can enter your farm name, url, and phone number if you would like and we will post it underneath your photo for some free publicity for your farm.
//get the size of the image in bytes
//$_FILES['image']['tmp_name'] is the temporary filename of the file in which the uploaded file was stored on the server
//compare the size with the maxim size we defined and print error if bigger
if ($size > MAX_SIZE*1024)
You have exceeded the size limit!
//we will give an unique name, for example the time in unix time format
//the new name will be containing the full path where will be stored (images folder)
//we verify if the image has been uploaded, and print error instead
$copied = copy($_FILES['image']['tmp_name'], $newname);
//If no errors registred, print the success message
if(isset($_POST['Submit']) && !$errors)
Your File Uploaded Successfully! Thanks!