Link to home
Start Free TrialLog in
Avatar of tsmitt
tsmitt

asked on

altering the http referal string

i wnt to test out a few methods i've thought of to try and keep people from sending a fake referer string to post from outside of my sites domain. however im unsure how I can test this, does anybody know a way to alter the referal string in php so i can test them?
Avatar of Synsthe
Synsthe

I have a function that can do this, however, I don't really want to post it in a public forum. It's not like the function itself is hard to do or anything, however I don't want to make it uber-easy for anybody who wants to do a search and pull up the function from my post here, then use it to attempt some malicious actions.

Paranoia? Yeah, probably. Oh well. =)

Drop me your email address and I'll send it to ya.
Avatar of tsmitt

ASKER

hey that was an even quicker response then the one i got earlier i think. this place is cool.

tsmitt@email.com, i'll "accept comment as answer" if it works.
ASKER CERTIFIED SOLUTION
Avatar of Synsthe
Synsthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Damned thing wrapped a few lines of code, but the line umbers should help sort that out.
Avatar of tsmitt

ASKER

thanks!