Solved

Where's the script being execute from?

Posted on 2001-09-12
3
138 Views
Last Modified: 2013-12-25
Hi.

Just wondered if there's a way of determining the address of the web page (if any) that is accessing a script.  (I've got a script that I want to restrict to the site that it should be run on.)

Thanks,

John.
0
Comment
Question by:Jaymol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
bigbed earned 50 total points
ID: 6476801
you could try HTTP_REFERER in your environment
(ie $ENV{HTTP_REFERER} in Perl
0
 
LVL 6

Author Comment

by:Jaymol
ID: 6476832
Thanks, I'll give it a go.

John.
0
 
LVL 6

Author Comment

by:Jaymol
ID: 6478631
Perfect.

Cheers big ears,

John.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
The viewer will learn how to dynamically set the form action using jQuery.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question