OK, crack this. I call it 100 dollar PHP question
Can anyone translate this piece of javascript into PHP?
<script>
document.write(document.location);
</script>
It should return the current document URL, including:
query - after the question mark ? (I would use $QUERY_STRING)
fragment - after...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.