RE: Re[2]: [PHP] Newbie redirect/variable question

2001-05-11 Thread Steve Wade
: 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

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Adaran (Marc E. Brinkmann)
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;

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Adaran (Marc E. Brinkmann)
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;

RE: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
~~~ 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

Re: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Jakob Kruse
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]...

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
(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

Re: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Jakob Kruse
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

Re: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread James Holloway
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

Re: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread bill
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']);

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
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