: James Holloway [mailto:[EMAIL PROTECTED]]
Sent: Friday, 11 May 2001 0:29
To: [EMAIL PROTECTED]
Subject: Re: Re[2]: [PHP] Newbie redirect/variable question
Steve,
The way you are doing things could leave yourself open with all kinds of
problems - one of which is address spoofing. A better way
Hi Steve,
Thursday, May 10, 2001, 1:39:36 PM, you wrote:
Steve Ok - thanks - my new redirect.php is
Steve ?php
Steve if ($fred != ) {
Steve # $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
Steve # mysql_query($statement);
Steve Header(Location: $fred);
Steve exit;
Hi Steve,
Thursday, May 10, 2001, 1:39:36 PM, you wrote:
Steve Ok - thanks - my new redirect.php is
Steve ?php
Steve if ($fred != ) {
Steve # $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
Steve # mysql_query($statement);
Steve Header(Location: $fred);
Steve exit;
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
-Original Message-
From: Adaran (Marc E. Brinkmann) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 10 May 2001 22:20
To: [EMAIL PROTECTED]
Subject: Re[2]: [PHP] Newbie
You should probably urlencode the address first, like this:
a href=redirect.php?fred=?php echo urlencode(www.fusion.org.au)
?test link/a
Not sure if it solves the problem though.
Regards,
Jakob Kruse
Steve Wade [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
-Original Message-
From: Jakob Kruse [mailto:[EMAIL PROTECTED]]
Sent: Friday, 11 May 2001 0:00
To: [EMAIL PROTECTED]
Subject: Re: Re[2]: [PHP] Newbie redirect/variable question
You should probably urlencode the address first, like
n line 6
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
-Original Message-
From: Jakob Kruse [mailto:[EMAIL PROTECTED]]
Sent: Friday, 11 May 2001 0:00
To: [EMAIL PROTECTED]
Subject: Re: Re[2]: [PHP] Newbie
N 26 001 273 105
+61 2 9477 1110
-Original Message-
From: Adaran (Marc E. Brinkmann) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 10 May 2001 22:20
To: [EMAIL PROTECTED]
Subject: Re[2]: [PHP] Newbie redirect/variable question
Hi Steve,
Thursday, May 10, 2001, 1:39:36 PM, you wrote
On Fri, 11 May 2001, Steve Wade wrote:
Thanks - hmm - doesn't seem to do it though.
My current code is:
?php
if ($HTTP_GET_VARS['fred'] != ) {
# $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
# mysql_query($statement);
header(Location: $HTTP_GET_VARS['fred']);
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
-Original Message-
From: bill [mailto:[EMAIL PROTECTED]]
Sent: Friday, 11 May 2001 0:33
To: Steve Wade
Cc: PHP News
Subject: Re: Re[2]: [PHP] Newbie redirect/variable question
On Fri, 11 May
10 matches
Mail list logo