Jump to content

Grabbing urls


ShaolinF

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

Archived

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

×
×
  • 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.