chandok Posted November 16, 2006 Share Posted November 16, 2006 hi all i want to upload an file and want to show its preview if it is an image. but if it is not an image then a default image. problem is that how can i chk that this file is an image or not ?? please if anybody know about it help me out Thanx in advance arvind chandok Quote Link to comment Share on other sites More sharing options...
brendandonhue Posted November 16, 2006 Share Posted November 16, 2006 php.net/getimagesize Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.