Jump to content

Archived

This topic is now archived and is closed to further replies.

UmiSal

getting the server's address

Recommended Posts

How do you get the server's full URL from within a PHP script? By the "server" I mean the one running the script.

Share this post


Link to post
Share on other sites
You can use a phpinfo script for this, search php.net as this forum won't allow me to post the code.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.