hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Filter Operator added images

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur
View previous topic :: View next topic  
Author Message
Ciao121



Joined: 12 Oct 2005
Posts: 2

PostPosted: Tue Nov 22, 2005 2:10 am    Post subject: Filter Operator added images Reply with quote

I'm using MMS to Email to send MMS to my test site because Vodafon Italy doesn't allow me to change the MMSC url over GPRS (it allow me to change it over WAP but sending MMS in thi way message costs about 1 or 2 Euros!!!).

The problem is that Vodafone adds images like header, footer and so on to the message. So only the first one is displayed.

I tried on peffis.com and those ar filtered out in some way. How? Can anybody help?

To see the difference:

MMS folder on peffis:
http://peffis.com/msgstore/30681_1132605258_email/

MMS folder on my site:
http://www.spaziomms.com/msgstore/24764_email/

Thanks Smile
Back to top
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Tue Jan 10, 2006 11:10 am    Post subject: Reply with quote

It is simple. All those icons from the operator always have the same name and they are always very peculiar, like ll1.gif or something like that. Simply add an "rm"-statement in the script that always tries to remove files like that "rm -f ll1.gif. ll2.gif ic1x2.gif" and so on. Of course, if someone posts a real photo using that as file name it will also be removed but it is not so likely as people tend to name their photos in a different way than machines do. Humans and machines are quite different after all...luckily
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group