Link to home
Start Free TrialLog in
Avatar of john1998
john1998

asked on

where did that person come from?

Can anyone tell me how to access enviroment variables? I am new to this perl stuff and was wanting to access an env var that told me where a person came from (what url).

For extra points, can you also tell me where I can find a definitive list of ALL environment variables that can be accessed with perl scripting?

ta
Avatar of feenix
feenix
Flag of Finland image

You can access environment variables with $ENV{}-statement. The URL which the user came from can be found in $ENV{'REFERRER_URL'} if the browser sends it.
ASKER CERTIFIED SOLUTION
Avatar of gre
gre

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