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
@ 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
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
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
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
>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?
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
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
8 matches
Mail list logo