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.
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
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
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
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
--
/***
*
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
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
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
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
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
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
]
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
12 matches
Mail list logo