Re: [PHP] URL / slash reduction

2002-06-10 Thread YLA G - X-power.be
t;YLA G - X-power.be" <[EMAIL PROTECTED]> To: "Martin Towell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 2:49 AM Subject: Re: [PHP] URL / slash reduction > :) :) great help thx mate!!! > > > now can everyone create a a

Re: [PHP] URL / slash reduction

2002-06-10 Thread YLA G - X-power.be
@ http://www.X-power.be Gamecube @ http://www.cube-power.be - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'YLA G - X-power.be'" <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 2:42 AM Subject: RE: [PHP] URL / slash redu

RE: [PHP] URL / slash reduction

2002-06-10 Thread John Holmes
sed within strings defined by ') Echo 'hello ' . $_GET['id'] . ' world'; Or... Echo "hello $_GET[id] world"; Etc...adapt to your needs... ---John Holmes... > -Original Message- > From: X-power.be [mailto:[EMAIL PROTECTED]] > Sent: Monday

RE: [PHP] URL / slash reduction

2002-06-10 Thread Martin Towell
it's because you've got single quotes inside single quotes... change $_GET['id'] to $_GET[id] -Original Message- From: X-power.be [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 10:04 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] URL / slash reduction the nic

Re: [PHP] URL / slash reduction

2002-06-10 Thread X-power.be
the nickname 'junni' was an example.. i have this now but its not working :( http://www.tuned-belgium.com/user/?id=/$_GET['id ']'); ?> http://tuned-belgium.com/main/modules.php?name=user&op=userinfo&uname="> gives: Parse error: parse error in /usr/home/v1/a0016905/html/user/filter.php on line

RE: [PHP] URL / slash reduction

2002-06-10 Thread Dave
>this url is the one that i want for my users: > >http://user.tuned-belgium.be/junni > > >but go's now to > >http://www.tuned-belgium.com/user/?id=/junni (slash junni) > >but must go to > >http://www.tuned-belgium.com/user/?id=junni (without slash) > >how can i prevent or filter the slash away?

RE: [PHP] URL / slash reduction

2002-06-10 Thread Martin Towell
tmp[1]; $str = implode("?", $tmp); -Original Message- From: X-power.be [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:22 AM To: [EMAIL PROTECTED] Subject: [PHP] URL / slash reduction this url is the one that i want for my users: http://user.tuned-belgium.be/junni b

[PHP] URL / slash reduction

2002-06-10 Thread X-power.be
this url is the one that i want for my users: http://user.tuned-belgium.be/junni but go's now to http://www.tuned-belgium.com/user/?id=/junni (slash junni) but must go to http://www.tuned-belgium.com/user/?id=junni (without slash) how can i prevent or filter the slash away? -- PHP G