Jump to content

Recommended Posts

HTTP REQUEST gets the url your on i think. But the one the other guy posted should work.

and does your php server support php short tags if not use <?php and sorry my code was missing a ?>

 

My server doesnt support short tags and it works if i use the full tag try it ;)

Link to comment
https://forums.phpfreaks.com/topic/64424-grabbing-urls/#findComment-321198
Share on other sites

hehe i am the other guy who posted the $_SERVER['HTTP_REFERER']; command. I tried it on my own server but it didnt work

 

It works for me. Just does'nt update it inless i close the browser then re open it.

well achually it only works if im using the link on a page on my website.

Link to comment
https://forums.phpfreaks.com/topic/64424-grabbing-urls/#findComment-321255
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.