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

Home » Imported messages » comp.lang.php » Pipe the content of a variable to a process
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Pipe the content of a variable to a process [message #173045 is a reply to message #173044] Fri, 18 March 2011 18:46 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 3/18/2011 1:27 PM, Marco wrote:
> On 2011-03-18 Jerry Stuckle<jstucklex(at)attglobal(dot)net> wrote:
>
>>>> I suggest you ask the gnuplot people. I don't think the problem is the
>>>> output stream is failing - I think your commands are incorrect.
>>>
>>> I know gnuplot pretty well. Without arguments it can be used directly in a
>>> pipe (with proper input on stdin, of course). It would be difficult to get
>>> help in the gnuplot group, since it works on the command line.
>>>
>>>
>>> Marco
>>>
>>
>> OK, I read that backwards
>>
>> But the pipes in PHP work fine - I've used them successfully before.
>>
>> Is this binary data which is being passed back?
>
> No, it's text (svg image).
>
>> Also, are you running this as using CLI or is it part of a web page?
>
> It's part of a web page. However I made a minimal example where I removed all
> unnecessary stuff to minimize interference with other code.
>
>
> Marco
>

Are you running your test from the CLI? Or are you trying to run it as
part of the web page?

If the latter - are you putting out valid html? Have you looked at the
document source to see what's there?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: use of array_key_exists() to prevent duplicates?
Next Topic: $_POST not set on 404
Goto Forum:
  

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

Current Time: Fri Nov 22 12:03:08 GMT 2024

Total time taken to generate the page: 0.16857 seconds