0

hi everyone...im having an issue with collecting the data using HTTP_REFERER

the problem is if i paste or type a referral url into the url bar it gives an error :-
Message: Undefined index: HTTP_REFERER

but if i click the link from another site it works perfect...

i understand that the error is because ts looking for a url of where the link came from, and if i pasted it, then there isnt a refferal url

but how would i write a code that will bypass this?

im thinking it would be a if/else command but i cant seem to get anything to work!

i need somethin that will say "if site url exists then collect data otherwise goto website normally"

any ideas please??

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by IWDesigns
0

excellent thank you...i was missing the isset command haha i cant beleive i overlooked that

thanks very much

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.