Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18788

Re: simplexml_load_string problem

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: simplexml_load_string problem
Date 2021-09-09 15:41 +0200
Message-ID <ipuh7qFjqe9U1@mid.individual.net> (permalink)
References <shckdp$1uo2$1@gioia.aioe.org>

Show all headers | View raw


On 09/09/2021 11.33, Torakiki wrote:
> I get this XML's file via HTTPS POST
>
> $NEWSTR=simplexml_load_string($STR);
> 
> If I print the TAG "fileBase64" I get the same string but with one space 
> instead character "+"

This may be a case of your data is url-decoded when posted and the + is 
then also decoded to space as it should be according to standard.

I would recommend you to use PUT instead of POST, so that the data will 
not be encoded/decoded on it's way.


-- 

  //Aho


Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

simplexml_load_string problem Torakiki <torakiki.sanNIENTE@SPAMgmail.com> - 2021-09-09 11:33 +0200
  Re: simplexml_load_string problem Arno Welzel <usenet@arnowelzel.de> - 2021-09-09 14:01 +0200
    Re: simplexml_load_string problem Torakiki <torakiki.sanNIENTE@SPAMgmail.com> - 2021-09-11 18:53 +0200
  Re: simplexml_load_string problem "J.O. Aho" <user@example.net> - 2021-09-09 15:41 +0200
    Re: simplexml_load_string problem Torakiki <torakiki.sanNIENTE@SPAMgmail.com> - 2021-09-11 18:55 +0200
      Re: simplexml_load_string problem "J.O. Aho" <user@example.net> - 2021-09-11 21:31 +0200
        Re: simplexml_load_string problem Torakiki <torakiki.sanNIENTE@SPAMgmail.com> - 2021-09-11 21:52 +0200
  Re: simplexml_load_string problem Härra Ramob <ya12983@mail.ee> - 2022-01-05 00:40 -0800

csiph-web