also it seems it wont let me upload .gif files.
Quote:
/* File Type Restrictions Variables */
/*-----------------------------------------------------------------*/
$max_height = "200"; /* Max Image Height */
$max_width = "200"; /* Max Image Width */
$Size_Restrictions = "2000000"; /* image size limit in bytes */
$Width_Restrictions = "200"; /* your width limit */
$Height_Restrictions = "200"; /* your height limit */
/*-----------------------------------------------------------------*/
/* If you want to have it chosen where you can enable users to be */
/* able to upload gif formated pictures to... then use this next */
/* line that is commented out, instead of the other one. */
$Type_Restrictions = "jpg,gif,jpeg"; /* your upload file types */
/* $Type_Restrictions = ""; /* your upload file types */
//*---------------------------------------------------------------*//
/* This is where you fill in your server information so that it */
/* knows where and what to connect to. */
|
i use this code but it does not work.