[PHP] fdup Pipes?
It's been a long time since I've programmed on Unix, but there was a common technique used in C programs for invoking a program allowing the invoker to read write to its standard input/output. I believe it used a combination of pipes the fdup function. Is it possible to emulate this same behavior in PHP? -- JR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] fdup Pipes?
On Thursday 30 May 2002 21:44, Jonathan Rosenberg wrote: It's been a long time since I've programmed on Unix, but there was a common technique used in C programs for invoking a program allowing the invoker to read write to its standard input/output. I believe it used a combination of pipes the fdup function. Is it possible to emulate this same behavior in PHP? Do us a favour and start a new post rather than replying to an existing one. thanks -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* A jury consists of twelve persons chosen to decide who has the better lawyer. -- Robert Frost */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] fdup Pipes?
I have no idea what you are talking about. My message was NOT a reply to a previous post. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:38 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] fdup Pipes? On Thursday 30 May 2002 21:44, Jonathan Rosenberg wrote: It's been a long time since I've programmed on Unix, but there was a common technique used in C programs for invoking a program allowing the invoker to read write to its standard input/output. I believe it used a combination of pipes the fdup function. Is it possible to emulate this same behavior in PHP? Do us a favour and start a new post rather than replying to an existing one. thanks -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* A jury consists of twelve persons chosen to decide who has the better lawyer. -- Robert Frost */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] fdup Pipes?
Yes it was. In your message you had this header: In-Reply-To: [EMAIL PROTECTED] Which means you hit 'Reply' in your crappy Outlook program, deleted the Subject line and posted your message that way. Please don't do that. Those of us with real email clients see your new message inside a thread on a completely different topic. -Rasmus On Thu, 30 May 2002, Jonathan Rosenberg wrote: I have no idea what you are talking about. My message was NOT a reply to a previous post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] fdup Pipes?
Yes, I realized this after I sent my reply. And, please try hard to forgive those of us who do not use the real software approved by you the other gods. We beg your forgiveness, oh lord. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:45 AM To: Jonathan Rosenberg Cc: [EMAIL PROTECTED] Subject: RE: [PHP] fdup Pipes? Yes it was. In your message you had this header: In-Reply-To: [EMAIL PROTECTED] Which means you hit 'Reply' in your crappy Outlook program, deleted the Subject line and posted your message that way. Please don't do that. Those of us with real email clients see your new message inside a thread on a completely different topic. -Rasmus On Thu, 30 May 2002, Jonathan Rosenberg wrote: I have no idea what you are talking about. My message was NOT a reply to a previous post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] fdup Pipes?
Like we have much of a choice - I'm sure my bosses would love it if I went to them and asked for a real email client. -Original Message- From: Jonathan Rosenberg [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 11:06 AM To: Rasmus Lerdorf Cc: [EMAIL PROTECTED] Subject: RE: [PHP] fdup Pipes? Yes, I realized this after I sent my reply. And, please try hard to forgive those of us who do not use the real software approved by you the other gods. We beg your forgiveness, oh lord. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:45 AM To: Jonathan Rosenberg Cc: [EMAIL PROTECTED] Subject: RE: [PHP] fdup Pipes? Yes it was. In your message you had this header: In-Reply-To: [EMAIL PROTECTED] Which means you hit 'Reply' in your crappy Outlook program, deleted the Subject line and posted your message that way. Please don't do that. Those of us with real email clients see your new message inside a thread on a completely different topic. -Rasmus On Thu, 30 May 2002, Jonathan Rosenberg wrote: I have no idea what you are talking about. My message was NOT a reply to a previous post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail clients (was: [PHP] fdup Pipes?)
JR And, please try hard to forgive those of us who do not use the JR real software approved by you the other gods. We beg your JR forgiveness, oh lord. I do not believe that was the point. Everyone's free to use whatever they want (The Bat! user here), just follow the courtesy guidelines for mailing lists. As such, just open a new mail and type the [EMAIL PROTECTED] address in the To: field, or pull it from your address book. If you start with a brand-new message, it won't screw itself up with message-ids. Doesn't matter if you use Sam Sausagehead's Personal MailClient 2000, or pine. That's all. -- Julie Meloni -- [EMAIL PROTECTED] -- www.thickbook.com Find Sams Teach Yourself MySQL in 24 Hours at http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] fdup Pipes?
Yeah that's like me going to the bigwigs and asking if we can dump the windows servers.I At 11:00 AM 5/30/2002 -0400, Leotta, Natalie (NCI/IMS) wrote: Like we have much of a choice - I'm sure my bosses would love it if I went to them and asked for a real email client. -Original Message- From: Jonathan Rosenberg [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 11:06 AM To: Rasmus Lerdorf Cc: [EMAIL PROTECTED] Subject: RE: [PHP] fdup Pipes? Yes, I realized this after I sent my reply. And, please try hard to forgive those of us who do not use the real software approved by you the other gods. We beg your forgiveness, oh lord. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:45 AM To: Jonathan Rosenberg Cc: [EMAIL PROTECTED] Subject: RE: [PHP] fdup Pipes? Yes it was. In your message you had this header: In-Reply-To: [EMAIL PROTECTED] Which means you hit 'Reply' in your crappy Outlook program, deleted the Subject line and posted your message that way. Please don't do that. Those of us with real email clients see your new message inside a thread on a completely different topic. -Rasmus On Thu, 30 May 2002, Jonathan Rosenberg wrote: I have no idea what you are talking about. My message was NOT a reply to a previous post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] fdup Pipes? (New Thread)
It's been a long time since I've programmed on Unix, but there was a common technique used in C programs for invoking a program allowing the invoker to read write via standard input/output. I believe it used a combination of pipes the fdup function. Is it possible to emulate this behavior in PHP? -- JR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] fdup Pipes?
Yes, I realized this after I sent my reply. And, please try hard to forgive those of us who do not use the real software approved by you the other gods. We beg your forgiveness, oh lord. You are forgiven, my child. ---John Holmes... -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:45 AM To: Jonathan Rosenberg Cc: [EMAIL PROTECTED] Subject: RE: [PHP] fdup Pipes? Yes it was. In your message you had this header: In-Reply-To: [EMAIL PROTECTED] Which means you hit 'Reply' in your crappy Outlook program, deleted the Subject line and posted your message that way. Please don't do that. Those of us with real email clients see your new message inside a thread on a completely different topic. -Rasmus On Thu, 30 May 2002, Jonathan Rosenberg wrote: I have no idea what you are talking about. My message was NOT a reply to a previous post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] fdup Pipes? (New Thread)
On Thu, 30 May 2002, Jonathan Rosenberg wrote: It's been a long time since I've programmed on Unix, but there was a common technique used in C programs for invoking a program allowing the invoker to read write via standard input/output. I believe it used a combination of pipes the fdup function. Is it possible to emulate this behavior in PHP? You may be able to get a bi-directional pipe out of popen. Depends on your particular OS. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php