[PHP] Re: Email Antispam
On Tue, 17 Apr 2012 21:11:45 -0400, Jim Giner wrote: >So - does that mean you building the site from information contained in a >database? Yes. Client wanted email addresses on the website, but not available to SPAM harvesters. And not all addresses are "in the database" as structured data, many are embedded in page content (I have a WordPress shortcode that encodes the email address for those). -- Ross McKay, Toronto, NSW Australia "Faced with a choice between the survival of the planet and a new set of matching tableware, most people would choose the tableware" - George Monbiot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Email Antispam
"Ross McKay" wrote in message news:b4vro79ftp9423k74bnj41o1o9e3dk9...@4ax.com... > On Tue, 17 Apr 2012 16:04:19 -0400, David Mehler wrote: > >>I'm working on a site that has email addresses on it. I am not wanting >>to use mailto links so as to avoid spam harvesters, I'd like another >>solution so that mailto links would work but would not work with >>spammers. I've tried several javascript-based solutions, but am not >>able to get them to be consistent. It seems like once they're used >>they revert to coded links. If anyone has any solutions I'd appreciate >>it. I'm not sure I can do this in php, generate email addresses >>dynamically then pass them to the client, it would be the same as the >>spammer hitting the page. I'd prefer something self-hosted and >>preferably light on the resources. > > I don't like this sort of thing, but I have a client who needs it. What > I did for them was to put the email address on the page encoded with > base64, and use client-side script to decode it. i.e. the encoded data > is replaced with the decoded data, once on page load. Hook up the decode > function on the browser-side to your page load scripts. No jQuery > required :) > > https://gist.github.com/2409958 > -- > Ross McKay, Toronto NSW Australia > "All we are saying > Is give peas a chance" - SeedSavers So - does that mean you building the site from information contained in a database? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Email Antispam
On Tue, 17 Apr 2012 16:04:19 -0400, David Mehler wrote: >I'm working on a site that has email addresses on it. I am not wanting >to use mailto links so as to avoid spam harvesters, I'd like another >solution so that mailto links would work but would not work with >spammers. I've tried several javascript-based solutions, but am not >able to get them to be consistent. It seems like once they're used >they revert to coded links. If anyone has any solutions I'd appreciate >it. I'm not sure I can do this in php, generate email addresses >dynamically then pass them to the client, it would be the same as the >spammer hitting the page. I'd prefer something self-hosted and >preferably light on the resources. I don't like this sort of thing, but I have a client who needs it. What I did for them was to put the email address on the page encoded with base64, and use client-side script to decode it. i.e. the encoded data is replaced with the decoded data, once on page load. Hook up the decode function on the browser-side to your page load scripts. No jQuery required :) https://gist.github.com/2409958 -- Ross McKay, Toronto NSW Australia "All we are saying Is give peas a chance" - SeedSavers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sms class
On 17 Apr 2012, at 20:50, Lester Caine wrote: > Ignoring the wallies I'd rather be a wally surrounded by fishmongers than a fishmonger surrounded by wallies. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sms class
On Apr 17, 2012, at 5:11 PM, Mike Mackintosh wrote: > In reality, a SMS messages are transported the SS7 network, or voice network. > To make the digital transition, carriers use a box called an SMPP gateway. To > get access to this box, is by contract and terms of he carrier, and most > commonly forbidden. As a result, the best bet is to use a SMS Aggregator. > Once you subscribe to their service, they usually offer an API. > > -- > Mike Mackintosh > www.HighOnPHP.com > > > On Tuesday, April 17, 2012 at 15:50, Lester Caine wrote: > >> DZvonko Nikolov wrote: >>> I need a class that sends sms messages to list of numbers. >>> I'm quite new to that issue, so I need to know what I need >>> more. Thanks in advance. >>> >> >> >> Ignoring the wallies >> >> Simply sending an SMS message is something rather more difficult that just >> needing a class to do it. >> Google will give you a hell of a lot of crap and no real answers - I know - >> I've >> been through a lot of it! >> >> The bottom line is that we need to be able to send the message TO the mobile >> phone network, and while in theory it should be simple to do that by >> accessing >> your own mobile phone, the providers tend to block such activity. I'm STILL >> trying to get a SIM card I can use to send my own messages via the mobile >> modem >> that I HAVE got full access to, but none of the UK providers will oblige >> with >> one that has this function enabled. Even though I will be paying for the >> 'airtime' ... >> >> The only way currently to do this is to sign up to a service that you pay to >> send each messages. So what you need to look for is a suitable text sending >> service in your area. Some have free setup and provide a few free messages, >> then >> charge based on your volume of messages. Many of these provide a web based >> service to which you can submit your traffic, but that area is another >> variable. >> I'm using http://www.textlocal.com/ at the moment just to get things running. >> >> -- >> Lester Caine - G8HFL >> - >> Contact - http://lsces.co.uk/wiki/?page=contact >> L.S.Caine Electronic Services - http://lsces.co.uk >> EnquirySolve - http://enquirysolve.com/ >> Model Engineers Digital Workshop - http://medw.co.uk// >> Firebird - http://www.firebirdsql.org/index.php >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > I use Tropo (tropo.com) myself. It is easy to use and the support is great! Take care, Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sms class
In reality, a SMS messages are transported the SS7 network, or voice network. To make the digital transition, carriers use a box called an SMPP gateway. To get access to this box, is by contract and terms of he carrier, and most commonly forbidden. As a result, the best bet is to use a SMS Aggregator. Once you subscribe to their service, they usually offer an API. -- Mike Mackintosh www.HighOnPHP.com On Tuesday, April 17, 2012 at 15:50, Lester Caine wrote: > DZvonko Nikolov wrote: > > I need a class that sends sms messages to list of numbers. > > I'm quite new to that issue, so I need to know what I need > > more. Thanks in advance. > > > > > Ignoring the wallies > > Simply sending an SMS message is something rather more difficult that just > needing a class to do it. > Google will give you a hell of a lot of crap and no real answers - I know - > I've > been through a lot of it! > > The bottom line is that we need to be able to send the message TO the mobile > phone network, and while in theory it should be simple to do that by > accessing > your own mobile phone, the providers tend to block such activity. I'm STILL > trying to get a SIM card I can use to send my own messages via the mobile > modem > that I HAVE got full access to, but none of the UK providers will oblige with > one that has this function enabled. Even though I will be paying for the > 'airtime' ... > > The only way currently to do this is to sign up to a service that you pay to > send each messages. So what you need to look for is a suitable text sending > service in your area. Some have free setup and provide a few free messages, > then > charge based on your volume of messages. Many of these provide a web based > service to which you can submit your traffic, but that area is another > variable. > I'm using http://www.textlocal.com/ at the moment just to get things running. > > -- > Lester Caine - G8HFL > - > Contact - http://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk// > Firebird - http://www.firebirdsql.org/index.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
RE: [PHP] Re: Email Antispam
> -Original Message- > From: Jim Giner [mailto:jim.gi...@albanyhandball.com] > Sent: April 17, 2012 4:33 PM > To: php-general@lists.php.net > Subject: [PHP] Re: Email Antispam > > > "David Mehler" wrote in message > news:CAPORhP5Cuzd0Hb9gBFLESNe5LofDODN64S2UOAuMWCb=zoh...@mail.gmail.com... > > Hello, > > > > I'm working on a site that has email addresses on it. I am not wanting > > to use mailto links so as to avoid spam harvesters, I'd like another > > solution so that mailto links would work but would not work with > > spammers. I've tried several javascript-based solutions, but am not > > able to get them to be consistent. It seems like once they're used > > they revert to coded links. If anyone has any solutions I'd appreciate > > it. I'm not sure I can do this in php, generate email addresses > > dynamically then pass them to the client, it would be the same as the > > spammer hitting the page. I'd prefer something self-hosted and > > preferably light on the resources. > > > > Thanks. > > Dave. > > Why not just put the contact's name/info on screen and then use the > database behind it all to go get the email address and build the mail? > Assuming that the site is using a db to hold these addresses already. > What about using an AJAX call onclick to pull the email address? Or nesting ajax calls to hide it more gooder :P Just thoughts, as I never (almost never) use mailto: tags, and build my own contact form. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email Antispam
Marc Guay wrote: >Is there a reason for you not to build a contact form? > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php It could be for a company, which in the UK I believe requires several bits of contact information. There is no php way of doing what you ask, php is all on the server after all. The only solution is javascript, but again, if its for a company, depending on country, you may have a legal requirement to make it accessible, which means basic required details available without script. Having said that, with a contact form you may be ok. You could use javascript to output the email address link. I wrote one a while back: http://www.ashleysheridan.co.uk/coding/javascript/Anti-Spam+Email+Script Hope it helps? Thanks, Ash http://ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Email Antispam
"David Mehler" wrote in message news:CAPORhP5Cuzd0Hb9gBFLESNe5LofDODN64S2UOAuMWCb=zoh...@mail.gmail.com... > Hello, > > I'm working on a site that has email addresses on it. I am not wanting > to use mailto links so as to avoid spam harvesters, I'd like another > solution so that mailto links would work but would not work with > spammers. I've tried several javascript-based solutions, but am not > able to get them to be consistent. It seems like once they're used > they revert to coded links. If anyone has any solutions I'd appreciate > it. I'm not sure I can do this in php, generate email addresses > dynamically then pass them to the client, it would be the same as the > spammer hitting the page. I'd prefer something self-hosted and > preferably light on the resources. > > Thanks. > Dave. Why not just put the contact's name/info on screen and then use the database behind it all to go get the email address and build the mail? Assuming that the site is using a db to hold these addresses already. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Email Antispam
Is there a reason for you not to build a contact form? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Email Antispam
Hello, I'm working on a site that has email addresses on it. I am not wanting to use mailto links so as to avoid spam harvesters, I'd like another solution so that mailto links would work but would not work with spammers. I've tried several javascript-based solutions, but am not able to get them to be consistent. It seems like once they're used they revert to coded links. If anyone has any solutions I'd appreciate it. I'm not sure I can do this in php, generate email addresses dynamically then pass them to the client, it would be the same as the spammer hitting the page. I'd prefer something self-hosted and preferably light on the resources. Thanks. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sms class
DZvonko Nikolov wrote: I need a class that sends sms messages to list of numbers. I'm quite new to that issue, so I need to know what I need more. Thanks in advance. Ignoring the wallies Simply sending an SMS message is something rather more difficult that just needing a class to do it. Google will give you a hell of a lot of crap and no real answers - I know - I've been through a lot of it! The bottom line is that we need to be able to send the message TO the mobile phone network, and while in theory it should be simple to do that by accessing your own mobile phone, the providers tend to block such activity. I'm STILL trying to get a SIM card I can use to send my own messages via the mobile modem that I HAVE got full access to, but none of the UK providers will oblige with one that has this function enabled. Even though I will be paying for the 'airtime' ... The only way currently to do this is to sign up to a service that you pay to send each messages. So what you need to look for is a suitable text sending service in your area. Some have free setup and provide a few free messages, then charge based on your volume of messages. Many of these provide a web based service to which you can submit your traffic, but that area is another variable. I'm using http://www.textlocal.com/ at the moment just to get things running. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sms class
Suspicion is my religion. Let no thread end without a war. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sms class
On 17 Apr 2012, at 20:17, Marc Guay wrote: > Woah. Is that good luck or bad luck? Inherently? Neither. To you? Whatever. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sms class
Woah. Is that good luck or bad luck? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] sms class
Hi there, I need a class that sends sms messages to list of numbers. I'm quite new to that issue, so I need to know what I need more. Thanks in advance. --- Regards DZvonko Nikolov dzvo...@gmail.com dzvo...@yahoo.com --- The best things are simple, but finding these simple things is not simple. Simplicity carried to the extreme becomes elegance. ---
Re: [PHP] Re: PHP: a fractal of bad design
[snip] a simple +1 will do [/snip] Ahthe good old days. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP: a fractal of bad design
On 04/17/2012 05:43 AM, Bogdan Ribic wrote: Where's the "Like" button on this list? :) On 4/13/2012 01:44, Ross McKay wrote: On Wed, 11 Apr 2012 17:06:10 -0700, Daevid Vincent wrote: "There are only two kinds of languages: the ones people complain about and the ones nobody uses." -- Bjarne Stroustrup a simple +1 will do -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP: a fractal of bad design
Where's the "Like" button on this list? :) On 4/13/2012 01:44, Ross McKay wrote: On Wed, 11 Apr 2012 17:06:10 -0700, Daevid Vincent wrote: "There are only two kinds of languages: the ones people complain about and the ones nobody uses." -- Bjarne Stroustrup -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php