Re: [PHP] Email Antispam

2012-04-17 Thread Marc Guay
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

Re: [PHP] Email Antispam

2012-04-17 Thread Ashley Sheridan
Marc Guay marc.g...@gmail.com 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.

Re: [PHP] email w/attachments

2011-04-18 Thread Richard Quadling
On 18 April 2011 04:38, Bastien phps...@gmail.com wrote: On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to figure this out and everything I've tried has failed. I've looked at

Re: [PHP] email w/attachments

2011-04-18 Thread Steve Staples
On Mon, 2011-04-18 at 11:05 +0100, Richard Quadling wrote: On 18 April 2011 04:38, Bastien phps...@gmail.com wrote: On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to

Re: [PHP] email w/attachments

2011-04-17 Thread Adam Richardson
On Sun, Apr 17, 2011 at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to figure this out and everything I've tried has failed. I've looked at over a dozen scripts that don't work. I'm about to pull out

Re: [PHP] email w/attachments

2011-04-17 Thread Bastien
On 2011-04-17, at 10:26 PM, tedd t...@sperling.com wrote: Hi gang: Anyone have an email script that allows attachments they would share? I've been trying to figure this out and everything I've tried has failed. I've looked at over a dozen scripts that don't work. I'm about to pull

Re: [PHP] email address syntax checker

2011-01-23 Thread Govinda
Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo Bad user! Bad user!; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-) Hi D :-) I was following along.. also felt pleased to be

Re: [PHP] email address syntax checker

2011-01-23 Thread Ashley Sheridan
On Sun, 2011-01-23 at 14:59 -0500, Govinda wrote: Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo Bad user! Bad user!; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-)

Re: [PHP] email address syntax checker

2011-01-23 Thread Donovan Brooke
Govinda wrote: [snip] Hi D :-) I was following along.. also felt pleased to be introduced to filter_var ... and then happened to see this: http://us3.php.net/manual/en/function.filter-var.php [snip] Note that FILTER_VALIDATE_EMAIL used in isolation is not enough for most (if not all) web

Re: [PHP] email address syntax checker

2011-01-23 Thread Govinda
Trying to finish a PHP book while watching the Packers is not working for me too well. ;-) yeah.. me trying to keep up with the php list, follow streams of thought from the posts that lead to things I need to yet learn, make time off from my other-language/full-time work.. wishing I could

Re: [PHP] email address syntax checker

2011-01-21 Thread Nilesh Govindarajan
On 01/21/2011 06:25 AM, Andre Polykanine wrote: Hej Nisse, Me thinks it isn't a valid address :-). Okay let me tell you guys one more thing that the validator I posted earlier is not exactly as per RFC. It does have some variations. @@example.com may be a valid email address, but I doubt

Re: [PHP] email address syntax checker

2011-01-21 Thread Nisse Engström
On Fri, 21 Jan 2011 18:32:56 +0530, Nilesh Govindarajan wrote: Okay let me tell you guys one more thing that the validator I posted earlier is not exactly as per RFC. It does have some variations. @@example.com may be a valid email address, but I doubt very much if any provider in the

Re: [PHP] email address syntax checker

2011-01-20 Thread Nilesh Govindarajan
On 01/20/2011 09:44 AM, Donovan Brooke wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick search of the archives and

Re: [PHP] email address syntax checker

2011-01-20 Thread Donovan Brooke
Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo Bad user! Bad user!; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-) Donovan -- D Brooke -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] email address syntax checker

2011-01-20 Thread Donovan Brooke
Nilesh Govindarajan wrote: On 01/20/2011 09:44 AM, Donovan Brooke wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a

Re: [PHP] email address syntax checker

2011-01-20 Thread Nisse Engström
On Thu, 20 Jan 2011 19:03:22 +0530, Nilesh Govindarajan wrote: Well, I had created an email validator long ago, after a neat research on Google, reading RFCs, etc. I don't guarantee that it's without bugs, but it has been correct for me in all valid invalid email addresses I used for test.

Re: [PHP] email address syntax checker

2011-01-20 Thread Andre Polykanine
Hej Nisse, Me thinks it isn't a valid address :-). -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From:

Re: [PHP] email address syntax checker

2011-01-19 Thread David Hutto
On Wed, Jan 19, 2011 at 11:14 PM, Donovan Brooke li...@euca.us wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick

Re: [PHP] email address syntax checker

2011-01-19 Thread Peter Lind
On 20 January 2011 05:14, Donovan Brooke li...@euca.us wrote: Hi Guys, I'm waddling my way through database interaction and thought someone on the list may already have a simple email checker that they'd like to share... you know, looking for the @ char and dots etc.. I did a quick search

Re: [PHP] email list 101

2011-01-16 Thread David McGlone
On Sunday, January 16, 2011 10:09:03 am Kirk Bailey wrote: So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is not

Re: [PHP] email list 101

2011-01-16 Thread Jim Lucas
On 1/16/2011 7:09 AM, Kirk Bailey wrote: So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is not my mother tounge we

Re: [PHP] email list 101

2011-01-16 Thread Paul M Foster
On Sun, Jan 16, 2011 at 10:09:03AM -0500, Kirk Bailey wrote: So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is

Re: [PHP] Email from php

2010-05-19 Thread Peter Lind
On 19 May 2010 13:27, Ferdi ferdinan...@printo.in wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the

Re: [PHP] Email from php

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 16:57 +0530, Ferdi wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation:

Re: [PHP] Email from php

2010-05-19 Thread Teus Benschop
On Wed, 2010-05-19 at 16:57 +0530, Ferdi wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation:

Re: [PHP] Email from php

2010-05-19 Thread Gary
Ferdi writes: I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). IMAP is only incoming (at least, the protocol is - the clue is in the name Internet Message

Re: [PHP] Email with attachment

2010-05-15 Thread Jim Lucas
Php Developer wrote: Hi, I found a good function at php.net that sends email with atachment, but unfortunately i still cannot figure out how to send a body of the email too. Here is the code: function sendEmailWithAttachement($to, $subject, $message, $file) { if

Re: [PHP] Email security

2009-07-14 Thread Eric Butera
On Tue, Jul 14, 2009 at 7:46 AM, Tiji varghesetij...@yahoo.co.in wrote: Hello, I've implemented a contact form on my website that would email me the contents of the form and also add it to the database. Its working perfectly but I'm not too sure about the security part. I don't know much

RE: [PHP] Email security

2009-07-14 Thread Dewey Williams
-Original Message- From: Tiji varghese [mailto:tij...@yahoo.co.in] Sent: Tuesday, July 14, 2009 7:47 AM To: PHP General Subject: [PHP] Email security Hello, I've implemented a contact form on my website that would email me the contents of the form and also add it to the

Re: [PHP] Email configuration

2009-02-07 Thread Ashley Sheridan
On Sat, 2009-02-07 at 01:58 +, Nathan Rixham wrote: Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's

Re: [PHP] Email configuration

2009-02-06 Thread Thodoris
2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for

Re: [PHP] Email configuration

2009-02-06 Thread Yannick Mortier
2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it

Re: [PHP] Email configuration

2009-02-06 Thread Thodoris
2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it

Re: [PHP] Email configuration

2009-02-06 Thread Ashley Sheridan
On Fri, 2009-02-06 at 16:30 +0200, Thodoris wrote: 2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll

Re: [PHP] Email configuration

2009-02-06 Thread Shawn McKenzie
Ashley Sheridan wrote: On Fri, 2009-02-06 at 16:30 +0200, Thodoris wrote: 2009/2/6 Thodoris t...@kinetix.gr: 2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
Ashley Sheridan wrote: I've never had an email bounced because of where it came from based on IP. I have had emails bounced based on the email headers that were sent. Always check the headers first. Even MessageLabs won't block an email based on the IP. ash: http://en.wikipedia.org/wiki/DNSBL

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Email configuration

2009-02-06 Thread Shawn McKenzie
Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol Hmmm... So Ashley is a him? -- Thanks! -Shawn

Re: [PHP] Email configuration

2009-02-06 Thread Nathan Rixham
Shawn McKenzie wrote: Nathan Rixham wrote: Shawn McKenzie wrote: Ever heard of RBL or DNSBL? I use it on my email server and so do many lol snap, just sent same message at same time - tis so easy to jump on ash's back cos he's always so sure he's right lolol Hmmm... So Ashley is a him?

Re: [PHP] Email configuration

2009-02-06 Thread Ashley M. Kirchner
Nathan Rixham wrote: Hmmm... So Ashley is a him? yeah quot: Actually I'm a guy, but we can't all be perfect ;) http://www.mail-archive.com/php-general@lists.php.net/msg235765.html Wouldn't be the first Ashley who's a guy. I happen to be one of those too ... -- PHP General Mailing List

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 It flance itmaqu...@yahoo.com: Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal

Re: [PHP] Email configuration

2009-02-05 Thread Thodoris
2009/2/5 It flance itmaqu...@yahoo.com: Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but

Re: [PHP] Email configuration

2009-02-05 Thread It flance
Thanks guys, I'm gonna read all this staff, and let you know if have some issues. Thanks a lot --- On Thu, 2/5/09, Yannick Mortier mvmort...@googlemail.com wrote: From: Yannick Mortier mvmort...@googlemail.com Subject: Re: [PHP] Email configuration To: t...@kinetix.gr Cc: itmaqu

Re: [PHP] Email Verification

2008-09-18 Thread Per Jessen
Lupus Michaelis wrote: Richard Heyes a écrit : New domain name extensions can be accounted for easily, eg: \.(?:[a-z]){2,4} It excludes .museum tld. Don't make assumptions about which TLDs that are or are not allowed - the domain part of an email address could be validated with

Re: [PHP] Email Verification

2008-09-18 Thread Andrew Ballard
On Thu, Sep 18, 2008 at 2:09 AM, Per Jessen [EMAIL PROTECTED] wrote: Lupus Michaelis wrote: Richard Heyes a écrit : New domain name extensions can be accounted for easily, eg: \.(?:[a-z]){2,4} It excludes .museum tld. Don't make assumptions about which TLDs that are or are not

Re: [PHP] Email Verification

2008-09-17 Thread Richard Heyes
Can anyone offer advice on best practices for email address verification? Obviously for user registration it's common to click a link in your email to complete the process thereby verifying the email, but if you want to keep things very simple for the end user, what are the best methods? The

Re: [PHP] Email Verification

2008-09-17 Thread Per Jessen
Tom Chubb wrote: Can anyone offer advice on best practices for email address verification? 1) check for a valid address syntax - that's easily done with a simply regex (leaving the most obscure variations out). 2) check that the domain-name exists and has an A record. /Per Jessen, Zürich

Re: [PHP] Email Verification

2008-09-17 Thread Per Jessen
Richard Heyes wrote: I have been looking at getmxrr and the examples feature some good advice, etc. One that I've found that I'm thinking of using is http://www.tienhuis.nl/php-email-address-validation-with-verify-probe which tries to connect to the SMTP server as well as mx lookup, etc.

Re: [PHP] Email Verification

2008-09-17 Thread Stut
On 17 Sep 2008, at 14:20, Tom Chubb wrote: Can anyone offer advice on best practices for email address verification? Obviously for user registration it's common to click a link in your email to complete the process thereby verifying the email, but if you want to keep things very simple for

Re: [PHP] Email Verification

2008-09-17 Thread tedd
At 2:20 PM +0100 9/17/08, Tom Chubb wrote: Can anyone offer advice on best practices for email address verification? Obviously for user registration it's common to click a link in your email to complete the process thereby verifying the email, but if you want to keep things very simple for the

Re: [PHP] Email Verification

2008-09-17 Thread Lupus Michaelis
Richard Heyes a écrit : New domain name extensions can be accounted for easily, eg: \.(?:[a-z]){2,4} It excludes .museum tld. -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Stut
On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different headers, etc and almost every

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Aschwin Wesselius
Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different headers, etc and almost every contact form on sites I've

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Tom Chubb
2008/9/12 Aschwin Wesselius [EMAIL PROTECTED] Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Tom Chubb
2008/9/12 Stut [EMAIL PROTECTED] On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Per Jessen
Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of different headers, etc and almost every contact form on sites

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Richard Heyes
I use here-doc plus exec(sendmail). Why? -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Per Jessen
Richard Heyes wrote: I use here-doc plus exec(sendmail). Why? Using heredocs is probably habit, but it's also easy, and I like keeping the email template in the code. I use exec(sendmail) because it allows me to set the Return-Path. For purely internal stuff, I just as often use plain

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Richard Heyes
I use exec(sendmail) because it allows me to set the Return-Path. mail() does too. -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Per Jessen
Richard Heyes wrote: I use exec(sendmail) because it allows me to set the Return-Path. mail() does too. In additional-parameters? Yeah, I think I knew that, but for some reason I haven't been using it. I don't think it works in safe-mode or something like that. Or maybe it doesn't

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Richard Heyes
In additional-parameters? Yeah, I think I knew that, but for some reason I haven't been using it. I don't think it works in safe-mode or something like that. Or maybe it doesn't work in older (4.3,4.4) versions? Dunno, it's been over 4 1/2 years since I used PHP4. -- Richard Heyes HTML5

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread tedd
At 12:03 PM +0100 9/12/08, Stut wrote: On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to junk/spam folders. I've tried loads of

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread tedd
At 2:57 PM +0200 9/12/08, Per Jessen wrote: Richard Heyes wrote: I use here-doc plus exec(sendmail). Why? Using heredocs is probably habit, but it's also easy, and I like keeping the email template in the code. I use exec(sendmail) because it allows me to set the Return-Path. For

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread Stut
On 12 Sep 2008, at 18:00, tedd wrote: At 12:03 PM +0100 9/12/08, Stut wrote: On 12 Sep 2008, at 11:55, Tom Chubb wrote: I have generally been using the PHP mail function for sending emails from contact forms on websites, but have recently had problems with a lot of mails being delivered to

Re: [PHP] Email - Best practice/advice please

2008-09-12 Thread tedd
At 6:47 PM +0100 9/12/08, Stut wrote: Chain saws make excellent playthings for 4 year olds*. -Stut Believe it or not, but when I was first introduced to my grand father, he gave me a baby rattlesnake to play with. My mother was horrified when she found out some time later and took it away

Re: [PHP] email issue

2008-03-14 Thread Børge Holen
On Friday 14 March 2008 18:33:13 nihilism machine wrote: here is my simple email lib: http://pastebin.com/m4d107c01 any idea why in the body i have a link with an = sign that gets replaced with a % sign? -e read up on urlencode -- --- Børge Holen http://www.arivene.net -- PHP General

Re: [PHP] email with style (again)

2008-02-27 Thread Daniel Brown
On Tue, Feb 26, 2008 at 8:33 PM, tedd [EMAIL PROTECTED] wrote: Ok gang: What's wrong with the following code? [snip!] The placement was wrong with the content-type info, that's all. It should be in the headers, after your from/x-mailer/blah/blah/blah envelope information. Also, when

RE: [PHP] email with style (again)

2008-02-26 Thread Andrés Robinet
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 8:33 PM To: php-general@lists.php.net Subject: [PHP] email with style (again) Ok gang: What's wrong with the following code? It sends the email OK, but nothing is styled. Where did I

Re: [PHP] email authentication

2007-12-22 Thread Stut
Afan Pasalic wrote: I have to develop a little registration form. after the form is submitted confirmation email has to be sent to registrant. I use this function to send an email: function send_plain_email($to, $subject, $body) { $headers =MIME-Versin: 1.0\n . Content-type:

Re: [PHP] Email question

2007-10-31 Thread Andrew Ballard
On 10/31/07, Jake [EMAIL PROTECTED] wrote: What is a =20 at the end of a line in an email? It is a space character when the message is encoded using quoted-printable encoding. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email question

2007-10-31 Thread Dan Shirah
Couldn't you just use the wordwrap function? Something like this: $my_text = This is a story all about how my life got flipped turned upside down. I'd like to take a minute just sit right there, I'll tell you how I became the Prince of a town called Belaire. $my_wrapped_text = wordwrap($my_text,

Re: [PHP] [EMAIL PROTECTED]: Re: [PHP] what is my dns ip address]

2007-09-01 Thread Richard Heyes
Robert Degen wrote: Or read the contents of /etc/resolv.conf I'm not familiar with, but does any MS product have any comparable file? There is a hosts file, but no resolv.conf or equivalent AFAIK. -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge Base and

Re: [PHP] [EMAIL PROTECTED]

2007-05-10 Thread Frank Arensmeier
Sorry, your question has nothing to do with PHP. Maybe try a CSS list? http://www.google.com/search?rls=sv-seq=css+discussion +listie=UTF-8oe=UTF-8 http://www.google.com/search?rls=sv-seq=why+ie+sucksie=UTF-8oe=UTF-8 http://whyiesucks.blogspot.com/ //frank 9 maj 2007 kl. 15.13 skrev Farid

Re: [PHP] [EMAIL PROTECTED]

2007-05-10 Thread Tom Rogers
Hi, Wednesday, May 9, 2007, 11:13:50 PM, you wrote: FJ Hello, FJ To me this seems to be a very strange problem. FJ I have a static html page (index.html) that shows correctly on both FF2 FJ IE7. FJ I splitted the website up into different sections: (header, footer, ...). To FJ do this I have

Re: [PHP] [EMAIL PROTECTED]

2007-05-10 Thread Daniel Brown
Farid, Can you copy each .php file to a .phps extension and link us to it? That will allow us to view the source of each page and see for ourselves. If there's any private information (passwords, database info, etc.), however, please DO NOT do this. Only if it's a simple HTML-style page.

RE: [PHP] email validation string.

2007-01-20 Thread tedd
At 5:54 PM +0200 1/19/07, WeberSites LTD wrote: Top Ajax : I meant that at the top of WeberDev.com there is an Ajax search box that you can use to search for email validation and see many related code examples to choose from. berber berber: Your original post was clear enough for me to

Re: [PHP] email validation string.

2007-01-20 Thread tedd
On Thu, Jan 18, 2007 at 01:40:36PM -0700, Don wrote: I'm trying to get this line to validate an email address from a form and it isn't working. if (ereg([EMAIL PROTECTED],$submittedEmail)) The book I'm referencing has this line if (ereg([EMAIL PROTECTED],$submittedEmail)) Anyway.. I

Re: [PHP] email validation string.

2007-01-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 08:53:32 -0500: I picked this up in my travels. function validate_email($email) { // Create the syntactical validation regular expression $regexp = ^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$; One of my email

Re: [PHP] email validation string.

2007-01-20 Thread tedd
At 3:04 PM + 1/20/07, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-20 08:53:32 -0500: I picked this up in my travels. function validate_email($email) { // Create the syntactical validation regular expression $regexp =

Re: [PHP] email validation string.

2007-01-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 09:22:00 -0500: At 3:04 PM + 1/20/07, Roman Neuhauser wrote: One of my email addresses is [EMAIL PROTECTED] Thanks, I'll add that to my kill list. Vietnam vet... Old habits don't go away easily huh? -- How many Vietnam vets does it take to screw in a

Re: [PHP] email validation string.

2007-01-20 Thread tedd
At 3:47 PM + 1/20/07, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-20 09:22:00 -0500: At 3:04 PM + 1/20/07, Roman Neuhauser wrote: One of my email addresses is [EMAIL PROTECTED] Thanks, I'll add that to my kill list. Vietnam vet... Old habits don't go away easily huh? I

RE: [PHP] email validation string.

2007-01-19 Thread WeberSites LTD
Try this : http://www.weberdev.com/get_example-3274.html berber -Original Message- From: Don [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 10:41 PM To: php-general@lists.php.net Subject: [PHP] email validation string. I'm trying to get this line to validate an email

Re: [PHP] email validation string.

2007-01-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: From: Don [mailto:[EMAIL PROTECTED] I'm trying to get this line to validate an email address from a form and it isn't working. if (ereg([EMAIL PROTECTED],$submittedEmail)) The book I'm referencing has this line if (ereg([EMAIL

RE: [PHP] email validation string.

2007-01-19 Thread WeberSites LTD
, January 19, 2007 12:17 PM To: WeberSites LTD Cc: 'Don'; php-general@lists.php.net Subject: Re: [PHP] email validation string. # [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: From: Don [mailto:[EMAIL PROTECTED] I'm trying to get this line to validate an email address from a form and it isn't

Re: [PHP] email validation string.

2007-01-19 Thread 'Roman Neuhauser'
Don't top-post. Trim quoted material. Use a mail user agent that doesn't screw up quoting. There's a plugin for Outlook to fix it. Thanks. # [EMAIL PROTECTED] / 2007-01-19 12:15:15 +0200: From: Roman Neuhauser [mailto:[EMAIL PROTECTED] # [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: Try

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. If I add the second (original) backslash it won't validate emails anymore. Also, from my little knowledge of Red.Exp. the

Re: [PHP] email validation string.

2007-01-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-19 14:46:04 +: 1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. JavaScript is *not* PHP. -- How many Vietnam vets does it take to

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. JavaScript is *not* PHP. As far as I can read, I never talked about JavaScript... Maybe the fact that I talked about a

RE: [PHP] email validation string.

2007-01-19 Thread WeberSites LTD
1:47 PM To: WeberSites LTD Cc: 'Don'; php-general@lists.php.net Subject: Re: [PHP] email validation string. Don't top-post. Trim quoted material. Use a mail user agent that doesn't screw up quoting. There's a plugin for Outlook to fix it. Thanks. # [EMAIL PROTECTED] / 2007-01-19 12:15:15 +0200

RE: [PHP] email validation string.

2007-01-19 Thread bruce
, January 19, 2007 2:17 AM To: WeberSites LTD Cc: 'Don'; php-general@lists.php.net Subject: Re: [PHP] email validation string. # [EMAIL PROTECTED] / 2007-01-19 10:55:21 +0200: From: Don [mailto:[EMAIL PROTECTED] I'm trying to get this line to validate an email address from a form and it isn't

Re: [PHP] email validation string.

2007-01-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-19 15:43:32 +: 1. Why did you remove the backslash? (the original was correct) I have a regular expression tester plugin in firefox and it validates Ok with the expression he provided. JavaScript is *not* PHP. As far as I can read, I never talked

Re: [PHP] email validation string.

2007-01-19 Thread Nuno Oliveira
Where can I check out the plugin? Maybe I shouldn't have mentioned plugin and firefox... It's not a plugin for firefox like other firefox's plugins... In fact, when I downloaded somewhere arround the web the name of the thing (won't call it plugin again) was Site Programmer Plugin Assistant

Re: [PHP] email validation string.

2007-01-18 Thread Nick Stinemates
I just got this from: http://php.net/preg_match ?php if(eregi (^[[:alnum:[EMAIL PROTECTED],6}$, stripslashes(trim($someVar { echo good; } else { echo bad; } ? Hope it works out for you. - Nick Stinemates On Thu, Jan 18, 2007 at 01:40:36PM -0700, Don wrote: I'm trying to get this line

Re: [PHP] email validation string.

2007-01-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-18 06:07:24 -0800: I just got this from: http://php.net/preg_match ?php if(eregi (^[[:alnum:[EMAIL PROTECTED],6}$, stripslashes(trim($someVar That would reject many of my email addresses. This is more in line with the standards:

Re: [PHP] Email with pregmatch

2006-08-31 Thread Curt Zirzow
On 8/27/06, Dave Goodchild [EMAIL PROTECTED] wrote: Try this: preg_match(/^([a-zA-Z0-9.])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/, $_POST['email']); So: [EMAIL PROTECTED] is valid? Curt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Email with pregmatch

2006-08-31 Thread Curt Zirzow
On 8/27/06, Peter Lauri [EMAIL PROTECTED] wrote: I found this on google, does this LONG function do anything more then your preg_match? i think a combo of what the function does and a few regex's will work. The issue is more on how idoes it pass all the rfc's on each part of the address, for a

Re: [PHP] Email with pregmatch

2006-08-31 Thread tedd
At 1:11 AM -0700 8/31/06, Curt Zirzow wrote: so the question is does it pass local tests, which should be rather simple, the domain part gets rather complcated since you cant predict at what domain level we are talking about: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL

Re: [PHP] Email with pregmatch

2006-08-27 Thread Dave Goodchild
Try this: preg_match(/^([a-zA-Z0-9.])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/, $_POST['email']); -- http://www.web-buddha.co.uk http://www.projectkarma.co.uk

RE: [PHP] Email with pregmatch

2006-08-27 Thread Peter Lauri
; // If we get here then it didn't pass return FALSE; } /Peter From: Dave Goodchild [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 8:47 PM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] Email

  1   2   3   4   >