Re: [PHP] http_referer. what's wrong with that?

2012-01-11 Thread Ken Robinson
At 12:27 AM 1/12/2012, Haluk Karamete wrote: Because I got this echo $_SERVER['HTTP_REFERER']; I end up with this Notice: Undefined index: HTTP_REFERER in D:\Hosting\5291100\html\blueprint\bp_library.php on line 16 die; Now, this is of course after the change. One solution is to dodge it b

[PHP] http_referer. what's wrong with that?

2012-01-11 Thread Haluk Karamete
Because I got this echo $_SERVER['HTTP_REFERER']; I end up with this Notice: Undefined index: HTTP_REFERER in D:\Hosting\5291100\html\blueprint\bp_library.php on line 16 die; Now, this is of course after the change. One solution is to dodge it by echo @$_SERVER['HTTP_REFERER']; But I'm sti

Re: [PHP] HTTP_REFERER with javascript: document.location

2006-04-18 Thread Richard Lynch
nother > site? > How about the website statistic engine out there be able to get the > referrals address' > > > > - Original Message - > From: "Richard Lynch" <[EMAIL PROTECTED]> > To: "Yudie" <[EMAIL PROTECTED]> > Cc: >

Re: [PHP] HTTP_REFERER with javascript: document.location

2006-04-18 Thread Yudie
t;Yudie" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, April 18, 2006 4:16 PM Subject: Re: [PHP] HTTP_REFERER with javascript: document.location > On Tue, April 18, 2006 12:49 pm, Yudie wrote: > > Does anyone know how to resolve my problem > > I tried to get the referer url wit

Re: [PHP] HTTP_REFERER with javascript: document.location

2006-04-18 Thread Richard Lynch
On Tue, April 18, 2006 12:49 pm, Yudie wrote: > Does anyone know how to resolve my problem > I tried to get the referer url with $_SERVER['HTTP_REFERER'] but > returns > blank when I use javascript: document.location='...' from the previous > page. Don't do that. :-) More specifically, no browser

[PHP] HTTP_REFERER with javascript: document.location

2006-04-18 Thread Yudie
Does anyone know how to resolve my problem I tried to get the referer url with $_SERVER['HTTP_REFERER'] but returns blank when I use javascript: document.location='...' from the previous page. Thank you. Yudie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] $HTTP_REFERER

2004-08-05 Thread Curt Zirzow
* Thus wrote Shaun: > Hi, > > I seem to have problems redirecting pages when I view my site using my > laptop, the only difference is that my laptop has Norton Firewall installed, > can this interfere with the $HTTP_REFERER variable and if so is there a more > reliable alternative? The reliable w

RE: [PHP] $HTTP_REFERER

2004-08-05 Thread Ed Lazor
with a better solution if you tell us what you're trying to accomplish. -Ed > -Original Message- > From: Shaun [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 05, 2004 9:26 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] $HTTP_REFERER > > Hi Jason, > > T

RE: [PHP] $HTTP_REFERER

2004-08-05 Thread Ford, Mike [LSS]
On 05 August 2004 17:18, Shaun wrote: > Hi, > > I seem to have problems redirecting pages when I view my site using my > laptop, the only difference is that my laptop has Norton > Firewall installed, > can this interfere with the $HTTP_REFERER variable Not only can, does! Other firewalls or pro

Re: [PHP] $HTTP_REFERER

2004-08-05 Thread Shaun
Hi Jason, Thanks for your reply, but really I need a solution that will allow me to let users view the site without having to worry about any firewalls they might have installed!!! "Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Its possible norton firewall OR your

Re: [PHP] $HTTP_REFERER

2004-08-05 Thread raditha dissanayake
Shaun wrote: Hi, I seem to have problems redirecting pages when I view my site using my laptop, the only difference is that my laptop has Norton Firewall installed, can this interfere with the $HTTP_REFERER variable and if so is there a more reliable alternative? Many firewalls and proxies can f

Re: [PHP] $HTTP_REFERER

2004-08-05 Thread Jason Davidson
Its possible norton firewall OR your browser is altering the headers. how are you redirecting, norton may not allow for some kind of redirects either. Try turning norton off, and visiting the page :) Jason "Shaun" <[EMAIL PROTECTED]> wrote: > > Hi, > > I seem to have problems redirecting p

[PHP] $HTTP_REFERER

2004-08-05 Thread Shaun
Hi, I seem to have problems redirecting pages when I view my site using my laptop, the only difference is that my laptop has Norton Firewall installed, can this interfere with the $HTTP_REFERER variable and if so is there a more reliable alternative? Thanks for your help -- PHP General Mailing

Re: [PHP] HTTP_REFERER

2004-06-04 Thread Steve Douville
nks, Steve - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 04, 2004 2:51 PM Subject: Re: [PHP] HTTP_REFERER > Steve Douville wrote: > > I think I'm having a major brain fart here. Is there a $HTTP_REFER

Re: [PHP] HTTP_REFERER

2004-06-04 Thread John Nichel
Steve Douville wrote: I think I'm having a major brain fart here. Is there a $HTTP_REFERER anymore? It doesn't show up as a server variable or anything at all in phpinfo()... using php 4.3.4 Ideas? TIA, Steve It has to be set to show up. -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED]

[PHP] HTTP_REFERER

2004-06-04 Thread Steve Douville
I think I'm having a major brain fart here. Is there a $HTTP_REFERER anymore? It doesn't show up as a server variable or anything at all in phpinfo()... using php 4.3.4 Ideas? TIA, Steve

Re: [PHP] HTTP_REFERER ... ?

2004-05-06 Thread John Nichel
Curt Zirzow wrote: I guess soon firewall's are going to be pouring you cups of coffee when it gets empty. Curt I hope they offer a Mt. Dew patch. ;) -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread Curt Zirzow
* Thus wrote Pablo Gosse ([EMAIL PROTECTED]): > John Nichel wrote: > > [EMAIL PROTECTED] wrote: > >> Sadly, I get nothing... > >> the other server I'm talking to is owned by our company, it's a > >> Lotus Domino server... so in theory, they'll be able to enable this > >> variable to be passed? > >

Re: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread John Nichel
John W. Holmes wrote: From: "Pablo Gosse" <[EMAIL PROTECTED]> The following is quoted from a previous post by Chris Shifflet: "Referer is just as easy to spoof as the form data you're expecting." wait, wait, wait... we CAN'T trust form data? Crap... ---John Holmes... Maybe we CAN trust form data i

Re: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread John W. Holmes
From: "Pablo Gosse" <[EMAIL PROTECTED]> > The following is quoted from a previous post by Chris Shifflet: > > "Referer is just as easy to spoof as the form data you're expecting." wait, wait, wait... we CAN'T trust form data? Crap... ---John Holmes... -- PHP General Mailing List (http://www.p

RE: [PHP] HTTP_REFERER ... ? OT

2004-05-05 Thread Jay Blanchard
[snip] some firewalls will change HTTP_REFERER to HTTP_WEFERER [/snip] That is not a firewall munge, that would be Elmer Fudd's server! ROFLMFAO! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread Pablo Gosse
John Nichel wrote: > [EMAIL PROTECTED] wrote: >> Sadly, I get nothing... >> the other server I'm talking to is owned by our company, it's a >> Lotus Domino server... so in theory, they'll be able to enable this >> variable to be passed? > > I can never remember one day to the other which it is, b

Re: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread John Nichel
[EMAIL PROTECTED] wrote: Sadly, I get nothing... the other server I'm talking to is owned by our company, it's a Lotus Domino server... so in theory, they'll be able to enable this variable to be passed? I can never remember one day to the other which it is, but I _think_ it's the browser which s

Re: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread Tristan . Pretty
Sadly, I get nothing... the other server I'm talking to is owned by our company, it's a Lotus Domino server... so in theory, they'll be able to enable this variable to be passed? John Nichel <[EMAIL PROTECTED]> 05/05/2004 17:07 To [EMAIL PROTECTED] cc Subject R

Re: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread John Nichel
[EMAIL PROTECTED] wrote: if ($_SERVER['HTTP_REFERER'] == 'http://www.mysite.com/') { // Stuff } Now why does this not work? I wanna asign varibales based on certain referers... but this is not working? Any ideas why? What do you get when you echo out $_SERVER['HTTP_REFERER']? -- John C. Nichel KegW

Re: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread Daniel Clark
I found this in the manual: HTTP_REFERER' The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.

RE: [PHP] HTTP_REFERER ... ?

2004-05-05 Thread Jay Blanchard
[snip] if ($_SERVER['HTTP_REFERER'] == 'http://www.mysite.com/') { // Stuff } Now why does this not work? [/snip] Have you echo'd $_SERVER['HTTP_REFERER'] ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTTP_REFERER ... ?

2004-05-05 Thread Tristan . Pretty
if ($_SERVER['HTTP_REFERER'] == 'http://www.mysite.com/') { // Stuff } Now why does this not work? I wanna asign varibales based on certain referers... but this is not working? Any ideas why? * The information contained in this

Re: [PHP] $HTTP_Referer

2003-11-10 Thread Chris Shiflett
--- Josephin Tauschinger <[EMAIL PROTECTED]> wrote: > Thank you Chris! No problem. :-) > What I did was exactly what Pablo Gosse proposed and, as you stated, > it didn't work: > > > Do you know how I can get my webserver (Apache/Unix) to parse html > files for php-scripts? Yes, this can be don

Re: [PHP] $HTTP_Referer

2003-11-06 Thread Chris Shiflett
--- Josephin <[EMAIL PROTECTED]> wrote: > am a newbie as of yesterday. Welcome! > Can't figure out how to get the $HTTP_Referer (own domain) of the page > entering my form (html), convert it into a variable which is later > passed on to my formmailer.php for the $subject variable. > > xy.html --

RE: [PHP] $HTTP_Referer

2003-11-06 Thread Pablo Gosse
On Thursday, November 06, 2003 10:31 AM, Josephin wrote: xy.html --->form.html-->formmailer.php want the $HTTP_Referer or HTTP_URI, file only, (of xy.html) -->to be forwarded to form.html, -->to be converted in a variable, -->which is passed on to formmailer.php, which will use it as "s

[PHP] $HTTP_Referer

2003-11-06 Thread Josephin
Hi, am a newbie as of yesterday. Can't figure out how to get the $HTTP_Referer (own domain) of the page entering my form (html), convert it into a variable which is later passed on to my formmailer.php for the $subject variable. xy.html --->form.html-->formmailer.php want the $HTTP_Refer

[PHP] HTTP_REFERER

2003-09-11 Thread Louie Miranda
Does php support this? HTTP_REFERER or simply cgi and ssi only? - Louie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_REFERER / Hijacking

2003-09-06 Thread Curt Zirzow
* Thus wrote John Taylor-Johnston ([EMAIL PROTECTED]): > > The problem is I noticed a friend was getting the hijacking message. > I had him clean his cache and reload, but no luck. > > I wondered why he got that message, so I echoed $HTTP_REFERER to see what his IE6.x > was spewing out. The resu

[PHP] $HTTP_REFERER / Hijacking

2003-09-06 Thread John Taylor-Johnston
This is kind of old-fashioned, but I created a counter that prevents hijacking. "district" is a partial of the word in the URL. If it does not exist, echoes hijacking ... snip--- if(stristr($HTTP_REFERER,"district")) { #... #echo "document.write(\"$num_rows visitors since August 23, 2003\");"

Re: [PHP] HTTP_REFERER reliability

2003-03-16 Thread Leif K-Brooks
Anyone can send any referer (sic) header to your script. It shouldn't be used for checking if someone is trying to hack the script, but it should be find in your case. rotsky wrote: I've experimented using $_SERVER['HTTP_REFERER'] which seems to work here. If the user enters valid login detail

Re: [PHP] HTTP_REFERER reliability

2003-03-16 Thread Marek Kilimajer
As you are already using sessions, you can store the original page in a session variable rotsky wrote: I have a small login form on the home page of my site. At the moment, when people enter their user details and hit 'send', they go to another page which check their details and, if they are suc

Re: [PHP] HTTP_REFERER reliability

2003-03-16 Thread Dan Hardiker
> But the manual says that HTTP_REFERER is unreliable, so I'm > intrigued to know exactly what the problems are. Any ideas? The HTTP_REFERER field is retrieved from the "HTTP Referer:" header as used in the HTTP protocol. This field is set entirely by the client browser / application retrieving t

[PHP] HTTP_REFERER reliability

2003-03-16 Thread rotsky
I have a small login form on the home page of my site. At the moment, when people enter their user details and hit 'send', they go to another page which check their details and, if they are successful, prints a welcome message. The problem is, they are now on this page and have to work their way ba

RE: [PHP] HTTP_REFERER security implications?

2003-03-10 Thread Don Read
On 10-Mar-2003 Tom Woody wrote: > I am working on a simple authentication script, where the user submits a > login and password, the credentials are checked and the user is > redirected to another script. The new script checks the HTTP_REFERER > and if its the original script it continues, otherw

Re: [PHP] HTTP_REFERER security implications?

2003-03-10 Thread Kevin Stone
- Original Message - From: "Tom Woody" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 9:53 AM Subject: [PHP] HTTP_REFERER security implications? > I am working on a simple authentication script, where the user submits a > login and p

[PHP] HTTP_REFERER security implications?

2003-03-10 Thread Tom Woody
I am working on a simple authentication script, where the user submits a login and password, the credentials are checked and the user is redirected to another script. The new script checks the HTTP_REFERER and if its the original script it continues, otherwise it stops with a message about being u

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-16 Thread Scott Fletcher
-- > From: "Scott Fletcher" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, January 15, 2003 2:07 PM > Subject: Re: [PHP] HTTP_REFERER work without a problem > > > > It's not a PHP bug. Many PHP programmer tried to their best to

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-16 Thread Jason Wong
On Thursday 16 January 2003 05:38, Scott Fletcher wrote: > Or worse, not substituting the characters in the Session ID. Just use the > same Session ID. What if there is leftover session file in the /tmp > directory of the Unix machine and we're dealing with hundred of users each > day. Some of t

Re: Fw: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Kevin Stone
- From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "Kevin Stone" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 2:37 PM Subject: Re: Fw: [PHP] HTTP_REFERER work without a problem > --- Kevin Stone <[EMAIL PROTECTED]> wrot

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
Here's one way I can do, I checked the session id in the HTTP_REFERER and grab the existing session id in the database table. This is still not an effective method. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] (Chris Sh

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
I understand. To combine the Session Id with HTTP_REFERER sound good but it didn't work too well. I'm still open to idea... :-) Fortunately, not many people know it because it is done behind the scene, so they'll have a lot more to guess about what's working behind the scene. "Christoph Gr

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
That sound wonderful!!! I'm looking forward to hearing about this in the near future... Thanks, Scott F. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Scott Fletcher <[EMAIL PROTECTED]> wrote: > > Or worse, not substituting the characte

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Chris Shiflett
--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > Or worse, not substituting the characters in the > Session ID. Just use the same Session ID. What if > there is leftover session file in the /tmp > directory of the Unix machine and we're dealing > with hundred of users each day. Some of those > sessi

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Christoph Grottolo
[EMAIL PROTECTED] (Chris Shiflett) wrote: >--- Scott Fletcher <[EMAIL PROTECTED]> wrote: >> Many PHP programmer tried to their best to use >> HTTP_REFERER so they can keep track of which >> webpages on the current website did the user >> last visited. > >I think I see what you are referring to now

Re: Fw: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Chris Shiflett
--- Kevin Stone <[EMAIL PROTECTED]> wrote: > What I suggest to you is code a solution around the IP > address. The IP address of course, like any information > coming from the client, can be tampered with but more > than likely it's not going to change while the user is > browsing your website. Rig

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
n page otherwise > they are logged in so let them see the page. > > works for me > > Best Wishes & Happy New Year > > Paul Roberts > [EMAIL PROTECTED] > ++++++++ > - Original Message - > From: "Scott Fletcher" <[EMAIL PROTECTED]> > To: <[EMAIL PROTE

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
I agree with you on that. Having something that is reliable is not a bad idea. Anyway, this HTTP_REFERER script have been in use for 4 years and we sometime very little have problem with it. It the HTTP_REFERER doesn't work then all the user will experienced is a direct access attempt and be bro

Fw: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Kevin Stone
ind ways to elaborate from there. You can do all of this without requiring the user to "login". -Kevin - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 2:07 PM Subject: Re: [PHP] HTTP_RE

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Chris Shiflett
--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > Many PHP programmer tried to their best to use > HTTP_REFERER so they can keep track of which > webpages on the current website did the user > last visited. I think I see what you are referring to now. The reason that many people (myself included) d

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
works for me Best Wishes & Happy New Year Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 9:07 PM Subject: Re: [PHP] HTTP_REFERER wor

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Paul Roberts
m: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 9:07 PM Subject: Re: [PHP] HTTP_REFERER work without a problem It's not a PHP bug. Many PHP programmer tried to their best to use HTTP_REFERER so they can keep track of which

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
It's not a PHP bug. Many PHP programmer tried to their best to use HTTP_REFERER so they can keep track of which webpages on the current website did the user last visited. That way, they can keep out the unauthorized access to the website without first logging in to the website. Well, my company'

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Chris Shiflett
--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > Here's what I found so interesting > > This code, $_SERVER['HTTP_REFERER'] have worked without a > problem when I use the latest Mozilla build. It even work > with the HierMenus, location.replace('http://whatever.com'), > and location.href = http

[PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
Here's what I found so interesting This code, $_SERVER['HTTP_REFERER'] have worked without a problem when I use the latest Mozilla build. It even work with the HierMenus, location.replace('http://whatever.com'), and location.href = http://whatever.com... This is a good news for PHP everywher

RE: [PHP] HTTP_REFERER?

2002-08-28 Thread Lon Lentz
Weird. When I plugged them straight into the query, it worked. Thanks again for the help. Solved a major problem for me. -Original Message- From: listman@evol [mailto:listman@evol]On Behalf Of Keith Vance Sent: Wednesday, August 28, 2002 10:51 PM To: Lon Lentz Subject: RE: [PHP

RE: [PHP] HTTP_REFERER?

2002-08-28 Thread Lon Lentz
stman@evol]On Behalf Of Keith Vance Sent: Wednesday, August 28, 2002 7:51 PM To: Lon Lentz Cc: [EMAIL PROTECTED] Subject: Re: [PHP] HTTP_REFERER? Look at using $_SERVER variable, you can access it anywhere. Do a print_r($_SERVER) to see the data it holds. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTTP_REFERER?

2002-08-28 Thread Lon Lentz
I have a template which places the value of $HTTP_REFERER into a table. This template is included in another template which is included in yet another template. The problem I am having is that the HTTP_REFERER, HTTP_USER_AGENT, and QUERY_STRING variables are all blank. Are there issues with

Re: [PHP] HTTP_REFERER

2002-03-25 Thread Erik Price
On Monday, March 25, 2002, at 02:52 PM, tom hilton wrote: > This is working fine for most users, but one user is telling me that > even > though she is following the link from the index page, she's still > getting > the error message, and are being bounced back to the index page. She > is

Re: [PHP] HTTP_REFERER

2002-03-25 Thread Dan Harrelson
Have you checked that your user is indeed coming from "http://www.somedomain.com/index.html";? There are lots of other ways to load your homepage: "http://xxx.xxx.xxx.xxx/index.html"; (ip address, not domain) "http://www.somedomain.com/"; "http://www.somedomain.com"; "http://xxx.xxx.xxx.xxx"; "h

[PHP] HTTP_REFERER

2002-03-25 Thread tom hilton
Hi, I am using the $HTTP_REFERER variable to ensure that users of a website are getting to a certain page through a link from the index.html page, and not going straight to the page through a bookmark. $page=$HTTP_REFERER; if ($page!="http://www.somedomain.com/index.html";) { echo "Please log

Re: [PHP] http_referer

2002-02-18 Thread Erik Price
In PHP4.1 or later, try: echo $_SERVER['HTTP_REFERER']; Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] http_referer

2002-02-18 Thread Rick Emery
Try accessing the variable: $HTTP_REFERER without specifying the array. it works for me -Original Message- From: tom hilton [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 12:25 PM To: [EMAIL PROTECTED] Subject: [PHP] http_referer Hi, I am trying to pull http_referer

[PHP] http_referer

2002-02-18 Thread tom hilton
Hi, I am trying to pull http_referer info on users accessing a certain page, but am not having any luck. When I run phpinfo(), the referer information is listed with all the other server variables, but when I pull a list of the server variables as an array and print them, they all appear except f

Re: [PHP] HTTP_REFERER

2001-11-23 Thread Jim Lucas
. "Browser Platform: ($GLOBALS[HTTP_USER_AGENT])\n". "User IP: '". gethostbyaddr($GLOBALS[REMOTE_ADDR]) ."' ($GLOBALS[REMOTE_ADDR])\n". hope this helps Jim - Original Message - From: "Jordan Elver" <[EMAIL PROTECTED]> To: &quo

RE: [PHP] HTTP_REFERER

2001-11-23 Thread Matt Williams
> Hi, > When I use HTTP_REFERER it gives me the name of the php script which is > handling the 404's?! > > Should that happen? As someone put in one of the other reply's don't rely on HTTP_REFERER. This is set (or not) by the browser and they all have different ideas about they want to play ball

Re: [PHP] HTTP_REFERER

2001-11-23 Thread Jordan Elver
Hi, When I use HTTP_REFERER it gives me the name of the php script which is handling the 404's?! Should that happen? Jord On Friday 23 November 2001 11:41, you wrote: > > Hi, > > I'm writing a 404 handler and in order to report the item that > > was requested > > I was trying to get the value

Re: [PHP] HTTP_REFERER

2001-11-23 Thread Jordan Elver
On Friday 23 November 2001 13:39, you wrote: > Are you using it as > > $HTTP_SERVER_VARS["REQUEST_URI"] > > or > > $REQUEST_URI > > ? Well, I think I'm buggered then because i just tried to use both and they both report the same value :-( Back to the drawing board. > I had the same problem usi

RE: [PHP] HTTP_REFERER

2001-11-23 Thread Matt Williams
> Hi, > I'm writing a 404 handler and in order to report the item that > was requested > I was trying to get the value of HTTP_REFERER. But, it does seem > to get set. > Does anyone know how to find thi value? Is there a reason why it > would not > get set? > Hi I think you're looking fo

Re: [PHP] HTTP_REFERER

2001-11-23 Thread Sebastian Wenleder
Hi Jord, You don't need to get HTTP_REFERER, in order to know what the client requested! And every browser stores some other info in HTTP_REFERER... The filename that was reqested is stored in $REQUEST_URI Best, Sebastian >Hi, >I'm writing a 404 handler and in order to report the item that was

Re: [PHP] HTTP_REFERER

2001-11-23 Thread gaouzief
hi reasons why it couldn't be set: the url was typed directly some browser don't send referer information other (like opera 5.12) send a wrong value you shouldn't rely on HTTP_REFERER too much regards hassan el forkani http://WarmAfrica.com 23/11/2001 11:55:04, Jordan Elver <[EMAIL PROTEC

[PHP] HTTP_REFERER

2001-11-23 Thread Jordan Elver
Hi, I'm writing a 404 handler and in order to report the item that was requested I was trying to get the value of HTTP_REFERER. But, it does seem to get set. Does anyone know how to find thi value? Is there a reason why it would not get set? TIA, Jord -- Jordan Elver Web Developer http://www

[PHP] HTTP_REFERER

2001-11-21 Thread Peter
Can anyone tell me under what circumstances this is set? As far as I can tell it only gets set on clicking an A tag from a referring page, but shouldn't it also get set if I POST a form from the referring page? In my tests this doesn't happen. I'm tried using PHP 4.05 / 4.06 on Win2K CGI versio

[PHP] $HTTP_REFERER problem

2001-08-22 Thread pekesan
I know that some browsers doesn't gives support to $HTTP_REFERER variable ( lynx in example). I am thinking on checking the browser ident (with HTTP_USER_AGENT) and managing $HTTP_REFERER as a session var in those cases who doesn't give support. But it would be great that if somebody found ano

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Jesse Arnett
Superior Internet Service Provider Ph: 937.222.8150.413 - Original Message - From: "Erich Zigler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 17, 2001 12:13 PM Subject: [PHP] $HTTP_REFERER > I am working on the last half of an Online Signup page

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Rob Hardowa
According to the spec: $HTTP_REFERER The address of the page (if any) which referred the browser to the current page. This is set by the user's browser; not all browsers will set this. So if it is set by the user's browser, it can be changed, or shut off. I believe there are programs out

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Erich Zigler
On Fri 17 Aug 2001, Nick Davies wrote: > Probably best to read stuff first ;) > try preg_match > preg_match("/^(http:\/\/)?([\/]+)/i", $HTTP_REFERER, $hostname); > the hostname will be in $hostname[2] > Hope it helps. Thanks. But is using $HTTP_REFERER the most secure way of doing it? Or can the

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Nick Davies
Probably best to read stuff first ;) try preg_match preg_match("/^(http:\/\/)?([\/]+)/i", $HTTP_REFERER, $hostname); the hostname will be in $hostname[2] Hope it helps. On Fri, 17 Aug 2001, Nick Davies wrote: > > Sorry missed a bit you'll just need to ereg out the hostname from > HTTP_REFE

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Nick Davies
Sorry missed a bit you'll just need to ereg out the hostname from HTTP_REFERER - take everything after http:// and before /... Nick. On Fri, 17 Aug 2001, Erich Zigler wrote: > I am working on the last half of an Online Signup page for an ISP. > > There is a local .php page on the webserver th

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Nick Davies
like if ($HTTP_REFERER == "certain host") { do finalise code } On Fri, 17 Aug 2001, Erich Zigler wrote: > I am working on the last half of an Online Signup page for an ISP. > > There is a local .php page on the webserver that actually finalizes the > addition of the user, but ONLY

[PHP] $HTTP_REFERER

2001-08-17 Thread Erich Zigler
I am working on the last half of an Online Signup page for an ISP. There is a local .php page on the webserver that actually finalizes the addition of the user, but ONLY if $HTTP_REFERER is from a certain host. I was wondering what you guys think of doing it this way? Any advice would be appr

Re: [PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
>Bug in IE? PHP doesn't even enter the picture here. The HTTP_REFERER >variable is defined by the web server if that information is provided by >the browser. No, it's not really a PHP thing, it's more HTML stuff. I suspect that the error comes because one of the server is not running SSL, so

Re: [PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Rasmus Lerdorf
> I have a frameset that runs on a SSL enabled server that has two frames in it. > One of the source is the local machine and the other one is a (outsourced > asp !!) script in another machine without SSL. > The non SSL one requires HTTP_REFERER to make sure it was hit from the > authorized server

[PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
I have a frameset that runs on a SSL enabled server that has two frames in it. One of the source is the local machine and the other one is a (outsourced asp !!) script in another machine without SSL. The non SSL one requires HTTP_REFERER to make sure it was hit from the authorized server. This

RE: [PHP] $HTTP_REFERER < 10

2001-07-12 Thread Don Read
On 12-Jul-01 Inércia Sensorial wrote: > Is it possible? > > I am writing a recommend script, and I already know that the $HTTP_REFERER > can come empty or even not set, tested turning off the 'Enable Referer > Logging' on Opera. > > But, an invalid $HTTP_REFERER is also one smaller than 1

[PHP] $HTTP_REFERER < 10

2001-07-12 Thread Inércia Sensorial
Is it possible? I am writing a recommend script, and I already know that the $HTTP_REFERER can come empty or even not set, tested turning off the 'Enable Referer Logging' on Opera. But, an invalid $HTTP_REFERER is also one smaller than 10 characters? I believe the smallest referer you c

RE: [PHP] HTTP_REFERER doesn't work with redirects...?

2001-02-22 Thread PHPBeginner.com
Message- From: Dhaval Desai [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 12:09 AM To: [EMAIL PROTECTED] Subject: [PHP] HTTP_REFERER doesn't work with redirects...? Hi! I just want to get the URL of the page that is redirecting to the other page. For example.. I hav

[PHP] HTTP_REFERER doesn't work with redirects...?

2001-02-21 Thread Dhaval Desai
Hi! I just want to get the URL of the page that is redirecting to the other page. For example.. I have two files login.php something.php Something.php has a line saying: So When I open Something.php it automatically takes me to login.php. On the login.php page I have the following lines

Re: [PHP] HTTP_REFERER vs. session_whatever() vs. header()

2001-01-24 Thread Richard Lynch
> //echo $test.""; > "//" . Without the remark, the code work but I get the error message > stating > > Warning: Cannot add header information - headers already sent by (output > started at test.php) in test.php on line ** Yes. A header is called a header because it come

[PHP] HTTP_REFERER vs. session_whatever() vs. header()

2001-01-24 Thread Scott Fletcher
Hi Everyone! I did post the note in the past about the problem with HTTP_REFERER which doesn't work in Netscape 6.0. It turned out that I was looking at the wrong thing the whole time. What I found is that it isn't really Netscape problem. It turned out that Netscape 6.0 can't use 2 times

[PHP] HTTP_REFERER not giving proper results

2001-01-12 Thread Chakravarthy K Sannedhi
PHP gurus, I am having a page named scene1.php, which got link to playvoice.php, one drop down list box and a submit button. I will try to explain what i want from this page as much clearly as possible with the following points. 1. Scene1.php appears on the user screen after it gets redirected fr