Re: [PHP] How do I get referer in php?

2004-11-18 Thread John Nichel
John Holmes wrote: John Nichel wrote: Didn't notice that those were commas and not periods either, eh? ;) Didn't notice the result is the same either way, eh? ;) Well, what do ya know, it is. Since when did a comma become a concatenation operator??? That's it, I'm going home. ;) -- John C.

Re: [PHP] How do I get referer in php?

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 22:10, John Nichel wrote: Well, what do ya know, it is. Since when did a comma become a concatenation operator??? That's it, I'm going home. ;) It didn't. It works for echo because echo accepts more than one parameter passed to it separated by commas. -- Jason

Re: [PHP] How do I get referer in php?

2004-11-17 Thread Randy Rinehart
Yes, you should be able to use $_SERVER['HTTP_REFERER']; -Randy Rinehart - Original Message - From: Brent Clements [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 1:54 PM Subject: [PHP] How do I get referer in php? Let's say I have a page at another

RE: [PHP] How do I get referer in php?

2004-11-17 Thread Chris W. Parker
Brent Clements mailto:[EMAIL PROTECTED] on Wednesday, November 17, 2004 11:55 AM said: Let's say I have a page at another site that links to a php script on my server. Is there anyway to get the referrer to the php script using php? Yes, and more. ?php echo

Re: [PHP] How do I get referer in php?

2004-11-17 Thread Robby Russell
On Wed, 2004-11-17 at 13:54 -0600, Brent Clements wrote: Let's say I have a page at another site that links to a php script on my server. Is there anyway to get the referrer to the php script using php? Look in the $_SERVER array. -Robby -- /*** *

Re: [PHP] How do I get referer in php?

2004-11-17 Thread M. Sokolewicz
Chris W. Parker wrote: Brent Clements mailto:[EMAIL PROTECTED] on Wednesday, November 17, 2004 11:55 AM said: Let's say I have a page at another site that links to a php script on my server. Is there anyway to get the referrer to the php script using php? Yes, and more. ?php echo

Re: [PHP] How do I get referer in php?

2004-11-17 Thread John Holmes
M. Sokolewicz wrote: Chris W. Parker wrote: echo pre,print_r($_SERVER),/pre; why are you echoing the result of print_r ?! The result is a boolean true or false. the actual output ON SCREEN is done from WITHIN the function automatically. Echoing the result is useless, and even more, it adds to

RE: [PHP] How do I get referer in php?

2004-11-17 Thread Chris W. Parker
John Nichel mailto:[EMAIL PROTECTED] on Wednesday, November 17, 2004 2:01 PM said: M. Sokolewicz wrote: I'm sure he meant echo 'pre',print_r($_SERVER,1),'/pre'; ---^---^ then... ;) hadn't noticed that param... I feel ashamed... :$ Didn't notice

Re: [PHP] How do I get referer in php?

2004-11-17 Thread M. Sokolewicz
John Holmes wrote: M. Sokolewicz wrote: Chris W. Parker wrote: echo pre,print_r($_SERVER),/pre; why are you echoing the result of print_r ?! The result is a boolean true or false. the actual output ON SCREEN is done from WITHIN the function automatically. Echoing the result is useless, and

Re: [PHP] How do I get referer in php?

2004-11-17 Thread John Nichel
M. Sokolewicz wrote: I'm sure he meant echo 'pre',print_r($_SERVER,1),'/pre'; ---^---^ then... ;) hadn't noticed that param... I feel ashamed... :$ Didn't notice that those were commas and not periods either, eh? ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675

Re: [PHP] How do I get referer in php?

2004-11-17 Thread John Holmes
John Nichel wrote: M. Sokolewicz wrote: I'm sure he meant echo 'pre',print_r($_SERVER,1),'/pre'; ---^---^ then... ;) hadn't noticed that param... I feel ashamed... :$ Didn't notice that those were commas and not periods either, eh? ;) Didn't notice the result is the

RE: [PHP] How do I get referer in php?

2004-11-17 Thread Zareef Ahmed
] Subject: Re: [PHP] How do I get referer in php? John Nichel wrote: M. Sokolewicz wrote: I'm sure he meant echo 'pre',print_r($_SERVER,1),'/pre'; ---^---^ then... ;) hadn't noticed that param... I feel ashamed... :$ Didn't notice that those were commas