"); include("../includes_01/header_04_no_menu.php"); echo ("



The WorldAirPics.com server appears to be down, please refresh this page or try again later.


WorldAirPics.com apologises for this interruption.












"); include("../includes_01/footer_01.php"); echo (""); // bah, modify the "Not Found" error for your needs. exit(); } if (!(@mysql_select_db($db_name))) // If can't connect to database, error and exit(). { echo(" WorldAirPics.com "); include("../includes_01/header_04_no_menu.php"); echo ("



The WorldAirPics.com server appears to be down, please refresh this page or try again later.


WorldAirPics.com apologises for this interruption.












"); include("../includes_01/footer_01.php"); echo (""); // bah, modify the "Not Found" error for your needs. exit(); } if ($turn_website_on != 'yes') // Check if website is turned on or off, error and exit(). { echo(" WorldAirPics.com "); include("../includes_01/header_04_no_menu.php"); echo ("



The $website_name_01 has been turned off for maintenance, please try again later.


$website_name_01 apologises for this interruption.












"); include("../includes_01/footer_01.php"); echo (""); // bah, modify the "Not Found" error for your needs. exit(); } //************** SHUT DOWN UPLOAD PAGE CODE ************** if ($enable_picture_uploads == 'no') // If can't connect to database, error and exit(). { echo(" WorldAirPics.com "); include("../includes_01/header_04_no_menu.php"); echo ("



The picture upload facility has been turned off to facilitate upgrade and maintenance work to be carried out on the picture database.


WorldAirPics.com / IrishAirPics.com apologises for this interruption. $picture_uploads_resume_date.


If you have any pictures that you urgently wish to have uploaded to the website click here to contact Frank and organise special upload facilities. (Example: brand new airliner delivery, newsworthy pictures, etc.)






"); include("../includes_01/footer_01.php"); echo (""); // bah, modify the "Not Found" error for your needs. exit(); } //************** SIMULATE A SESSION ****************** // // Section removed, see index_backup_081010.php // //**************************************************** //************** Function to generate random string ************** // // Section removed, see index_backup_081010.php // //**************************************************************** //************** UPLOAD SESSIONS CODE ************** // // Section removed, see index_backup_081010.php // //**************************************************** //**********Last Page Visited********** // Function to generate random string function randomstring($chars) { srand((double) microtime() * 1000000); $allowchars = '0123456789'; while(++$n < ($chars+1)) $freturn .= $allowchars[rand(0, strlen($allowchars)-1)]; return $freturn; } $random = randomstring("5"); $current_time = time(); $trimmed_time = substr($current_time, 5); $random_id = "$trimmed_time$random"; //$question_mark = "?"; //$string = $_SERVER['QUERY_STRING']; //$page_name = "$page_name$question_mark$string"; $query_redirect = "insert into airpics_logging_redirect (redirect_url, unique_id, timestamp) VALUES ('$page_name', '$random_id', NOW())"; //echo "$current_time
"; //echo "$page_name
"; //echo "$trimmed_time
"; //echo "$random_id"; $result_redirect = mysql_query($query_redirect); if (!isset($result_redirect)) { echo ("Error in query.
Please go back and try again."); //exit(); } ?> IrishAirPics.com / WorldAirPics.com : Add Your Picture

You are not logged in. Please Login or Register



You must be a registered member of WorldAirPics.com to upload pictures.