i want to make it so that when a user visits my website, an image fades onto the screen on a black background, before going to the actual page. is there a way to do this easily with javascript/css?
in writing a PHP upload file, i know that the command for allowing a jpg is
|| ($_FILES["file"]["type"] == "image/jpeg")
but what would it be for a pdf? ive gotten this far
|| ($_FILES["file"]["type"] == "
is it an image? document? or should i just put file?
PHP is not the answer to this one. use JAVA, or even javascript. i cant give the exact way, because i dont have the JS editor i usually use, but it shouldnt take more than 10 lines of code, excluding the <script type="blahblahblah"> part.