How to get full address bar URL inside PHP script ?

by   SJRANJAN

We can use PHP SERVER variables to get full address bar URL inside PHP script.

Simple way

With Protocol and port …

 

 

Please refer http://php.net/manual/en/reserved.variables.server.php for PHP SERVER variables.

Share on :