Solved

Where's the script being execute from?

Posted on 2001-09-12
3
136 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now