[help] Extending php menu

User Tag List

Results 1 to 4 of 4
  1. #1
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [help] Extending php

    Anyone know of a extension for php that will allow me to do interprocess communication with other server programs? I looked at shared memory, but it seems to be for Unix/Linux. I didn't see any relevant extensions on PECL either. At the least, a way to call the win32 API would suffice.

    [help] Extending php
  2. #2
    Netzgeist's Avatar Contributor
    Reputation
    144
    Join Date
    Jan 2008
    Posts
    353
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can use shm also on linux
    Code:
    $shmId = shm_attach ( 515, 1024); if (!shmID) die ("duh");
    got also a german whitepaper for you. besides the german you should at least understand the code:
    [ame="http://www.slideshare.net/schst/interprozesskommunikation-mit-php"]Interprozesskommunikation mit PHP[/ame]

    ,ng
    Last edited by Netzgeist; 01-05-2010 at 12:55 AM.
    regards,
    NG

  3. #3
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there any way to make shared memory work on windows? I'm pretty sure that it doesn't function the same way as CreateFileMapping() does on windows. I thought about writing an extension, but it seems to be too much of a hassle...

  4. #4
    Netzgeist's Avatar Contributor
    Reputation
    144
    Join Date
    Jan 2008
    Posts
    353
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    none that i know. you could use ipc for asp.net and use the .NET for php extension to implement it in your opcode. sounds dirty ^^
    regards,
    NG

Similar Threads

  1. [HELP] SQL+PHP help
    By EmiloZ in forum Programming
    Replies: 2
    Last Post: 07-21-2010, 09:23 PM
  2. Help with php please!
    By eimoxs in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 12-05-2008, 08:02 AM
  3. Help with PHP
    By mkultra. in forum Community Chat
    Replies: 4
    Last Post: 12-31-2007, 08:48 AM
  4. I need PHP help!
    By chanceless in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 10-30-2007, 08:20 AM
All times are GMT -5. The time now is 07:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search