Re: detect xml from flash in php

From: Tim Van Wassenhove (euki_at_pi.be)
Date: 01/13/04

  • Next message: Dmitry Ruban: "Re: Game site script"
    Date: 13 Jan 2004 08:09:33 GMT
    
    

    On 2004-01-13, erickrefener <erick@spamitoudina.com> wrote:
    > Hi,
    >
    > I made a script that send some xml from flash to php, I don't parse any
    > of this xml within php as when php receives the xml it sends it back to
    > another flash client with php socket.
    > I need to detect whether the it is xml or not because flash sends an
    > empty hertbeat "" every 3 seconds in order to do some routines.
    >
    > I tried : ereg("<", $data) but it doesn't work.
    >
    >
    > do you know how I can do ?

    Use strlen ?

    -- 
    http://home.mysth.be/~timvw
    

  • Next message: Dmitry Ruban: "Re: Game site script"

    Relevant Pages