RE: Re: ACCEPT attribute
Hi David, What exactly am i supposed to do? Will this work? I did try it but again it was allowing file of any type to be uploaded. Do let me know the solution. Thanks in advance. Ajit. --Original Message-- From: "David E. Crawford" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: May 30, 2000 5:53:09 PM GMT Subject: Re: ACCEPT attribute Well, if you really have "images/gif, images/jpeg" in there, it shouldn't work anyway. Those are invalid mime-types. I have never had problems with the accept attributes. In fact sometimes it works too well, when progressive jpegs are used, which even though they have .jpg extensions, their mime-type is PJPEG. I would suggest however, that a better choice would be to force a valid set of file extensions such as GIF or JPG instead of trying to rely on the browser to properly report the mime type. DC - Original Message - From: "nair ajit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 30, 2000 17:47 Subject: ACCEPT attribute > Hi, > > I'm using command's UPLOAD action to upload photographs.In > order to > restrict the users from uploading files other than gif's or jpeg's, i > used > the ACCEPT attribute ie. > > accept="images/gif, images/jpeg"> > > But now what is happening is that even if I give an html file or an exe > file > to upload,it accepts & that file is stored in the destination directory. > > Please give me a solution to this problem. > > --- > FREE! The World's Best Email Address @email.com > Reserve your name now at http://www.email.com > > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or send a message to [EMAIL PROTECTED] with > 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Re: ACCEPT attribute
Hi David, Thank you for your answer. But what is it I'm supposed to do? Is it that i'll write Do let me know. Thanks. --Original Message-- From: "David E. Crawford" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: May 30, 2000 5:53:09 PM GMT Subject: Re: ACCEPT attribute Well, if you really have "images/gif, images/jpeg" in there, it shouldn't work anyway. Those are invalid mime-types. I have never had problems with the accept attributes. In fact sometimes it works too well, when progressive jpegs are used, which even though they have .jpg extensions, their mime-type is PJPEG. I would suggest however, that a better choice would be to force a valid set of file extensions such as GIF or JPG instead of trying to rely on the browser to properly report the mime type. DC - Original Message - From: "nair ajit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 30, 2000 17:47 Subject: ACCEPT attribute > Hi, > > I'm using command's UPLOAD action to upload photographs.In > order to > restrict the users from uploading files other than gif's or jpeg's, i > used > the ACCEPT attribute ie. > > accept="images/gif, images/jpeg"> > > But now what is happening is that even if I give an html file or an exe > file > to upload,it accepts & that file is stored in the destination directory. > > Please give me a solution to this problem. > > --- > FREE! The World's Best Email Address @email.com > Reserve your name now at http://www.email.com > > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or send a message to [EMAIL PROTECTED] with > 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Re: ACCEPT attribute
Hi David, Thank you for your answer. But what is it I'm supposed to do? Is it that i'll write Do let me know. Thanks. --Original Message-- From: "David E. Crawford" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: May 30, 2000 5:53:09 PM GMT Subject: Re: ACCEPT attribute Well, if you really have "images/gif, images/jpeg" in there, it shouldn't work anyway. Those are invalid mime-types. I have never had problems with the accept attributes. In fact sometimes it works too well, when progressive jpegs are used, which even though they have .jpg extensions, their mime-type is PJPEG. I would suggest however, that a better choice would be to force a valid set of file extensions such as GIF or JPG instead of trying to rely on the browser to properly report the mime type. DC - Original Message - From: "nair ajit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 30, 2000 17:47 Subject: ACCEPT attribute > Hi, > > I'm using command's UPLOAD action to upload photographs.In > order to > restrict the users from uploading files other than gif's or jpeg's, i > used > the ACCEPT attribute ie. > > accept="images/gif, images/jpeg"> > > But now what is happening is that even if I give an html file or an exe > file > to upload,it accepts & that file is stored in the destination directory. > > Please give me a solution to this problem. > > --- > FREE! The World's Best Email Address @email.com > Reserve your name now at http://www.email.com > > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or send a message to [EMAIL PROTECTED] with > 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
ACCEPT attribute
Hi, I'm using command's UPLOAD action to upload photographs.In order to restrict the users from uploading files other than gif's or jpeg's, i used the ACCEPT attribute ie. But now what is happening is that even if I give an html file or an exe file to upload,it accepts & that file is stored in the destination directory. Please give me a solution to this problem. --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
cf-talk@houseoffusion.com
Hi, I'm using command's UPLOAD action to upload photographs.In order to restrict the users from uploading files other than gif's or jpeg's, i used the ACCEPT attribute ie. But now what is happening is that even if I give an html file or an exe file to upload,it accepts & that file is stored in the destination directory. Please give me a solution to this problem. --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
cf-talk@houseoffusion.com
how can i send images using tag. I want to send greeting cards thro' my site. --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.