PHP How to
138 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by phpprofessionalprogramming
Scoop.it!

PHP Security: HTTP Authentication Step By Step Tutorial - PHPEveryDay

PHP Security: HTTP Authentication Step By Step Tutorial - PHPEveryDay | PHP How to | Scoop.it
tutorial php about how to creating HTTP Authentication...
more...
No comment yet.
Scooped by phpprofessionalprogramming
Scoop.it!

Array sorting but without articles « TIENHUIS Networking

Sometimes you want to sort an array in PHP, but exclude certain words.
I once needed this to sort a list of artists and bands. It is very common for bandnames to have articles in front of them.
When sorting those, it feels more natural to leave those words out, so that “The Doors” would end up at the letter D, and not T.

more...
No comment yet.
Scooped by phpprofessionalprogramming
Scoop.it!

PHP Tutorial: Simulating SOAP Part II | PHP Tip A Day

PHP Tutorial: Simulating SOAP Part II | PHP Tip A Day | PHP How to | Scoop.it
How do you redirect and capture all the API calls from a SOAP client. It's really a lot easier than you might think.
more...
No comment yet.
Scooped by phpprofessionalprogramming
Scoop.it!

PHP Email address validation with Verify probe « TIENHUIS Networking

This PHP function checks if an email address is valid. By default it will only do syntax checking with a regex, but it can also be configured to do a MX record check. I have expanded the function so that it can also be configured to verify the address via an SMTP probe.

It will give an error in these situations:

A 5xx SMTP response code is encountered
None of the mailservers can be contacted
No usable DNS records are found
The script take more than a certain amount of time (mostly transient errors)

more...
No comment yet.