Re: PostToHost Help
| From: | Richard Lynch | Date: | Tue, 14 Nov 2000 22:08:05 +0000 |
| Subject: | Re: PostToHost Help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25284@lists.php.net to get a copy of this message | ||
> I'm using PostToHost to send some variables from a PHP script to an
> ASP script...When I output the variables in ASP, they don't have any
> spaces or line returns. Why would that happen, and how can I fix it?
>
> If I send the vars to a PHP script, the vars are fine, spaces are there
> and everything.
Are you using URLEncode() on the data? The HTTP protocol is only supposed
to accept a limited character set. Your PHP server may be more forgiving,
but the ASP one is in spec, probably.