Re: [PHP] Verify script location...

2002-03-05 Thread Erik Price
On Tuesday, March 5, 2002, at 01:57 PM, Kevin Stone wrote: > It's not possible to include() a remote file so there may be little > point to this. However maybe you want to keep users on your system from > including the file in their scripts. In that case I suppose you could > set $PHP_SELF (o

Re: [PHP] Verify script location...

2002-03-05 Thread jas
our system from > > > including the file in their scripts. In that case I suppose you could > > > set $PHP_SELF (of the main script) to a temporary variable for checking > > > in the included script. -Kevin > > > > > > -Original Message- > > >

Re: [PHP] Verify script location...

2002-03-05 Thread jas
t; set $PHP_SELF (of the main script) to a temporary variable for checking > > in the included script. -Kevin > > > > -Original Message----- > > From: jas [mailto:[EMAIL PROTECTED]] > > Sent: Monday, March 04, 2002 11:50 PM > > To: [EMAIL PROTECTED] > > Su

Re: [PHP] Verify script location...

2002-03-05 Thread jas
$PHP_SELF (of the main script) to a temporary variable for checking > in the included script. -Kevin > > -Original Message- > From: jas [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 2002 11:50 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Verify script location.

RE: [PHP] Verify script location...

2002-03-05 Thread Kevin Stone
n the included script. -Kevin -Original Message- From: jas [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 11:50 PM To: [EMAIL PROTECTED] Subject: [PHP] Verify script location... Ok I have a question that i havent seen a tutorial on... How would I go about making an included file chec

RE: [PHP] Verify script location...

2002-03-05 Thread Demitrious S. Kelly
wsers will set this. -Original Message- From: jas [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 10:50 PM To: [EMAIL PROTECTED] Subject: [PHP] Verify script location... Ok I have a question that i havent seen a tutorial on... How would I go about making an included file check the

[PHP] Verify script location...

2002-03-05 Thread jas
Ok I have a question that i havent seen a tutorial on... How would I go about making an included file check the host before executing? I want to make sure that any files I use as included in a php document verify the request is coming from a valid script on the same server for instance.. Is this