[21] Results

Golang : How to validate URL the right way

golang validate-url govalidator is-url

Validating input from user or external sources is critical and needed to ensure that your program will not simply process….... read more

Golang : Validate IPv6 example

golang ip-addressvalidate-ipv6

This tutorial is an enhancement of previous tutorial on how to determine if a given IP address is….... read more

Golang : Get final or effective URL with Request.URL example

golang final-url effective-url request-url

There are times when we query a web server, it will re-direct internally and returns back with a slightly different….... read more

Golang : Validate email address with regular expression

golang email validate regexp

This short tutorial is add on to my previous tutorial on how to validate email address with Golang.….... read more

Golang : Validate email address

golang email validate

Problem :

You need a quick way to validate if a user has entered a valid email address without knowing….... read more

Golang : Parsing or breaking down URL

golang url parse fragment

Golang provides an easy way to consume and parse URL. It has a very neat package ( http://golang.org/pkg/net/url.... read more

Golang : How to get URL port?

golang url parse splithostport

From the previous tutorial on how to break down a URL string, a reader emailed me wanting to….... read more

PHP : How to handle URI or URL with non-ASCII characters such as Chinese/Japanese/Korean(CJK) ?

cjk uri-segment url urldecode

This tutorial is for CodeIgniter, but it should work with any PHP framework or raw PHP.

While working with CodeIgniter,….... read more