Q:

Write a PHP script to get the full URL

0

Write a PHP script to get the full URL.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

<?php $full_url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; echo $full_url."\n"; ?>

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now