check whether files to be sent to Flickr or not
connecting to MySQL using mysqli