portable IPC - Win and Linux?

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default portable IPC - Win and Linux?

    I want to write a portable PHP program or two, to do some stuff best done in
    PHP ... but to commincate with some project code written in C.

    The function ref i have for PHP is: "PHP Functions Essential Reference" (new
    riders) ... and it says the pipes and shared memory stuff won't work under
    windows and the com stuff won't work under anything but windows. I believe
    that ... so I am asking for other approaches that may result in portable
    code. Dropping files for communications is a last resort. I use PHP stand
    alone without a web server and like it for its easy scripting ... anyone
    else using it for just stand alone scripting?

    Thanks
    Tom


    Tom Jones Guest

  2. Similar Questions and Discussions

    1. Making Flash portable
      I need to know how to save a flash file to a jump drive to be shown on a client's computer. We will not have the ability to save the file locally...
    2. OT: Portable Storage
      Ramón(are you feeling well enough to travel?), Buko, and other errants, There's a favorable review of a portable card reader/CD burner, called...
    3. Portable unix du command
      Howdy group. I have a need to get the size of a directory. I could just execute unix's du command (my $sz = `du -sh /usr`;) but was wondering if...
    4. portable mail questions
      I've got a PowerBook (G3 Pismo) that I use at home (via DSL) and at the office (LAN). I wish to send mail from both locations, using OS X Mail.app...
    5. LAN, NetInfo and a portable
      Hello. I have a small LAN at home with a few Macs. I have been thinking about using my fastest G4 as a NetInfo server for the rest of them. I'd...
  3. #2

    Default Re: portable IPC - Win and Linux?

    Tom Jones wrote:
    > I want to write a portable PHP program or two, to do some stuff best done
    > in PHP ... but to commincate with some project code written in C.
    >
    > The function ref i have for PHP is: "PHP Functions Essential Reference"
    > (new riders) ... and it says the pipes and shared memory stuff won't work
    > under windows and the com stuff won't work under anything but windows. I
    > believe that ... so I am asking for other approaches that may result in
    > portable code. Dropping files for communications is a last resort. I use
    > PHP stand alone without a web server and like it for its easy scripting
    > ... anyone else using it for just stand alone scripting?
    >
    > Thanks
    > Tom
    socket based comms is your friend:
    [url]http://www.zend.com/zend/tut/tutorial-staub3.php[/url]

    Linux Format has an article on it as well this month.


    kaptain kernel Guest

  4. #3

    Default Re: portable IPC - Win and Linux?

    The shmop extension offer access to shared memory and works under both Win32
    & Linux.


    kaptain kernel ha scritto nel messaggio
    <3fba521c$0$25034$afc38c87@news.easynet.co.uk>.. .
    Tom Jones wrote:
    > I want to write a portable PHP program or two, to do some stuff best done
    > in PHP ... but to commincate with some project code written in C.
    >
    > The function ref i have for PHP is: "PHP Functions Essential Reference"
    > (new riders) ... and it says the pipes and shared memory stuff won't work
    > under windows and the com stuff won't work under anything but windows. I
    > believe that ... so I am asking for other approaches that may result in
    > portable code. Dropping files for communications is a last resort. I use
    > PHP stand alone without a web server and like it for its easy scripting
    > ... anyone else using it for just stand alone scripting?
    >
    > Thanks
    > Tom
    socket based comms is your friend:
    [url]http://www.zend.com/zend/tut/tutorial-staub3.php[/url]

    Linux Format has an article on it as well this month.



    Luca Mariano Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139