Hi,
I've been playing with ' if(!filter_var( $email, FILTER_VALIDATE _EMAIL))
'
on my server and it seems to be working 100%. Pretty handy.
Any ideas where I could find a summary of the e-mail formats the filter
checks?
So far it's evading me. The Manual and w3schools just send me in
circles, and Google has been even less help so far. I'd probably be
happy if I could even find an RFC it was written against.
TIA,
Twayne 4 2872
Twayne schreef:
Hi,
I've been playing with ' if(!filter_var( $email, FILTER_VALIDATE _EMAIL))
'
on my server and it seems to be working 100%. Pretty handy.
Any ideas where I could find a summary of the e-mail formats the filter
checks?
So far it's evading me. The Manual and w3schools just send me in
circles, and Google has been even less help so far. I'd probably be
happy if I could even find an RFC it was written against.
TIA,
Twayne
http://us3.php.net/manual/hu/ref.fil...lter.constants
Twayne schreef:
>Hi,
I've been playing with ' if(!filter_var( $email, FILTER_VALIDAT E_EMAIL)) ' on my server and it seems to be working 100%. Pretty handy.
Any ideas where I could find a summary of the e-mail formats the filter checks?
So far it's evading me. The Manual and w3schools just send me in circles, and Google has been even less help so far. I'd probably be happy if I could even find an RFC it was written against.
TIA,
Twayne
http://us3.php.net/manual/hu/ref.fil...lter.constants
Finally! Meaningful, specific descriptions; thank you!
Strange; I've been all over that same site and not found those; the
English language version of that very same page doesn't include all of
that information. I have a feeling some cell heights got borked along
the line or something.
Maybe I should be looking at the Hungarian versions more often!
The real reason I asked the question though was for validation of the
information: some of the filters I'm testing aren't doing precisely what
the us3.php.net... table says they're doing and I thought they should
do. I'm pleased to be right, but confused too now<g>!
Thanks much, I'll likely be back!
Twayne
Twayne schreef:
>Twayne schreef:
>>Hi,
I've been playing with ' if(!filter_var( $email, FILTER_VALIDA TE_EMAIL)) ' on my server and it seems to be working 100%. Pretty handy.
Any ideas where I could find a summary of the e-mail formats the filter checks?
So far it's evading me. The Manual and w3schools just send me in circles, and Google has been even less help so far. I'd probably be happy if I could even find an RFC it was written against.
TIA,
Twayne
http://us3.php.net/manual/hu/ref.fil...lter.constants
Finally! Meaningful, specific descriptions; thank you!
Strange; I've been all over that same site and not found those; the
English language version of that very same page doesn't include all of
that information. I have a feeling some cell heights got borked along
the line or something.
Maybe I should be looking at the Hungarian versions more often!
The real reason I asked the question though was for validation of the
information: some of the filters I'm testing aren't doing precisely what
the us3.php.net... table says they're doing and I thought they should
do. I'm pleased to be right, but confused too now<g>!
Thanks much, I'll likely be back!
Twayne
Oeps, i did not notice the '/hu/' in the url.... ;-)
But i found another reason why this info is not on php.net
Its: http://www.php.net/manual/en/function.filter-list.php
This function returns a list of supported filters,
So its not upto PHP to give info on what the supported filters do, if
its a list which is returned from an external call ?
so, via: http://www.google.nl/search?source=i...e+zoeken&meta=
i found: http://nl3.php.net/filter
which brought me to: http://devolio.com/blog/archives/413...-Part-one.html
happy reading... ;-)
Twayne schreef:
>>Twayne schreef: Hi,
I've been playing with ' if(!filter_var( $email, FILTER_VALID ATE_EMAIL)) ' on my server and it seems to be working 100%. Pretty handy.
Any ideas where I could find a summary of the e-mail formats the filter checks?
So far it's evading me. The Manual and w3schools just send me in circles, and Google has been even less help so far. I'd probably be happy if I could even find an RFC it was written against.
TIA,
Twayne http://us3.php.net/manual/hu/ref.fil...lter.constants Finally! Meaningful, specific descriptions; thank you!
Strange; I've been all over that same site and not found those; the English language version of that very same page doesn't include all of that information. I have a feeling some cell heights got borked along the line or something. Maybe I should be looking at the Hungarian versions more often! The real reason I asked the question though was for validation of the information: some of the filters I'm testing aren't doing precisely what the us3.php.net... table says they're doing and I thought they should do. I'm pleased to be right, but confused too now<g>! Thanks much, I'll likely be back!
Twayne
Oeps, i did not notice the '/hu/' in the url.... ;-)
But i found another reason why this info is not on php.net
Its: http://www.php.net/manual/en/function.filter-list.php
This function returns a list of supported filters,
So its not upto PHP to give info on what the supported filters do, if
its a list which is returned from an external call ?
so, via: http://www.google.nl/search?source=i...e+zoeken&meta=
i found: http://nl3.php.net/filter
which brought me to: http://devolio.com/blog/archives/413...-Part-one.html
happy reading... ;-)
Thanks, I came across that too. Too bad he hasn't gotten to part two
yet; might be some good info.
I find it interesting how little internal analytical information is
avalable for PHP, especially for its functions. Either no one but the
author knows, or it's an intentional ego thing where to see what's in
them you have to use process of elimination and check for reported bugs
against them, etc.. Kind of silly IMO. OH well, that's what makes life
intersting I suppose.
Cheers,
Twayne This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: sathia |
last post by:
Hi, I have this table:
CREATE TABLE `osservatorio` (
`id` int(10) unsigned NOT NULL auto_increment,
`testo` varchar(255) NOT NULL default '',
`parent` int(11) default NULL,
`allegato` varchar(255) default NULL,
`descrizione` varchar(255) default NULL,
`online` enum('true','false') NOT NULL default 'true',
PRIMARY KEY (`id`),
|
by: Mailer |
last post by:
Hello, all,
Well, I need to write a mail filter in Python. The filter will be used in
shared web hosting environment, so the control over MTA configuration etc is
limited.
The basic premise, as I understand is this:
Read mail from stdin
Parse headers etc using rfc822 or email module
|
by: Bibby |
last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled
in C, C++ and VB6. Which would be the best language to focus my attention to
regarding the following considerations:
Hireability
Portability
Flexibility
The likely candidates seem to be Java, VB.Net, C, C++, C#.
|
by: Fred Zuckerman |
last post by:
I have a union query joining two other queries, each with 62 fields.
Interestingly, when I open the query it has the correct number of 2850
records. But if I then set a filter (using filter by form), when I
apply the filter I get only 206 records, when I should get 208. If I
then remove the filter I get 2850 records again. But if I then click
on "apply filter" again I get only 186 records.
Each time I remove the filter I get the...
|
by: JvdWal |
last post by:
Hi,
I've been trying the PDF & Mail Class Library from ACG Soft
in combination with Northwind-2k3 style of db. Can someone help
me with the error which is popping up: (which I cant get solved..)
I'm trying to send a report in PDF-format with a unique QuotationID to
one specific customer by Email. >> Button in a form >> quotation-report
and a "filter and printfilter"- query..
| |
by: Weaver |
last post by:
This works fine:
Me.ForecastCurr.Form.Filter = "Year = " + Str(CurrYear)
Me.ForecastCurr.Form.FilterOn = True
And when I add this:
TextCurrYearTotal = Me.ForecastCurr.Form.
Me.ForecastCurr.Form.Filter = "Year = " + Str(CurrYear)
Me.ForecastCurr.Form.FilterOn = True
|
by: crescent_au |
last post by:
I am developing a simple mailing system. This requires sending emails
in HTML format to one or more recipient. I am currently using PHP's
mail() function. It works alright but it doesn't seem reliable. I am
not able to send email to my hotmail account but it does send to yahoo
account. I'm not sure if there is something about hotmail that blocks
emails for some unknown reason. If it goes to yahoo, it must go to
hotmail. it doesn't even...
|
by: KimberlyM |
last post by:
This has been driving me crazy. I hope someone can help. The site displays perfectly in FF but all div's do not show in IE. Please help me find the problem! Thanks!
Here is my css.
.node-unpublished, .comment-unpublished {
background-color : #594133;
}
.preview .node, .preview .comment {
background-color : #ffffea;
}
|
by: nev |
last post by:
Does anyone know how to do that? In my real project actually, I filter on two fields like this...
bindingsource.filter = "col1='" & var1 & "' AND col2='" & var2 & "'"
wherein var1 or var2 may contain a null value. Its just the same as if I want to show all records with null values.
Any ideas?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |