SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast kaos's Avatar
    Join Date
    Jun 2004
    Location
    CANADA
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP base64binary

    Hi,

    I have 2 web services, one in ASP.NET and the other in PHP5. Both implement the same functionality (same method). If I query both (same method, same data), should the result string in base64 encoding be the same as well?

    thank you.

  2. #2
    SitePoint Evangelist Raining_Curses's Avatar
    Join Date
    May 2005
    Posts
    560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would think they will be the same, seen as there the same type of encoding. But thats just a guess, you could always just do a simple to test to find out though.

    Raining
    www.thetrial.staronesw.com
    Check out my online text based rpg (In development!!)

  3. #3
    SitePoint Enthusiast kaos's Avatar
    Join Date
    Jun 2004
    Location
    CANADA
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah after using base64 to decode the string

    php webservice produces
    <parent><tag1>data</tag1><tag2>data</tag2></parent>

    with no line breaks

    and ASP.NET produces

    <parent>
    <tag1>data</tag1>
    <tag2>data</tag2>
    </parent>

    with linebreaks...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •