Re: Space in argument
| From: | David Newcomb | Date: | Wed, 30 Aug 2000 10:52:50 +0000 |
| Subject: | Re: Space in argument | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14374@lists.php.net to get a copy of this message | ||
look at rawurlencode
http://www.myserver.com/error.php?error_string=<?php
echo
rawurlencode($field); ?>
hth,
David.
----- Original Message -----
From: Xiaomin Dong <xdong@xpedite.com>
To: <php-general@lists.php.net>
Cc: Xiaomin Dong <xdong@xpedite.com>
Sent: Tuesday, August 29, 2000 8:07 PM
Subject: [PHP] Space in argument
>
> Hi,
>
> I have a call to the page
>
> http://www.myserver.com/error.php?error_string=The host doet
> not exists!
>
>
> The argument contains some spaces and the page only takes the
> first part. I add single or double quotations, still not
> work.
>
> Any suggestion?
>
> Please let me know.
>
>
> Thanks
> Xiaomin Dong
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>