FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Message queues not working properly PHP -> C
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Message queues not working properly PHP -> C [message #179588 is a reply to message #179582] Sun, 11 November 2012 14:57 Go to previous messageGo to previous message
Muffinman is currently offline  Muffinman
Messages: 3
Registered: November 2012
Karma:
Junior Member
On 09-11-12 22:05, Muffinman wrote:
> Hello all,
>
> I've got a php script that needs to send out some info to a c script
> (already running). Somehow when php sends out through a message queue it
> looks like it copies the previous message (send by php or c) and copies
> it's own message over it with the previous message still visible if it
> is longer than the next php message. No messages are lost though, only
> copied and overwritten.

Actually when I set 'serialize' to 'true' it doesn't include the
previous message send. However, in c the messages comes with an addition
at the beginning and end of the string which is why I turned it off in
the first place ("s:2:" and ";"):

spock: "s:2:"Hi";"

This is preferable than some 'random' data, but ugly nonetheless.

Maarten
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using += assignment recursively on an array w/o notice
Next Topic: phpmyadmin export
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 10:00:49 GMT 2024

Total time taken to generate the page: 0.04729 seconds