Find us on twitterLike us on facebook
View Portfolio

PHP Library

Support Us

CSS Library

Get the full URL in PHP | DevSocial.net Get the full URL in PHP | DevSocial.net

free php scripts



Listings

Get the full URL in PHP

Get the full URL in PHP

use this code to get the full url

 

$actual_link = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];


If you want to support both HTTP and HTTPS, you can use

$actual_link = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";


Views: 6,595 / Downloads: 195 | Price: $0 | PHP / PHP Functions
Status: Active

|

You have no Listings. Create Listing.


Buy Ready made Web Apps  Buy Ready made Web Apps


Website Ranking Tools

classifieds24.net classifieds24.info classifieds24.org nywds.com https://www.globalclassifieds.org/ domainpaid.net devsocial.net paystopost.com paystopost.org https://www.101now.com https://www.newyorkconstructionco.com paystopost.org https://www.hirepros.org https://www.hirepros.info
EST: 2012 | © 2025 Devsocial.net | All Rights Reserved. [ + ][ y ]
SHARE:

Facebook

Twitter