by: Bernhard Kuemel |
last post by:
Hi!
I want to read/write commands and program input to/from /bin/bash
several times before I close the stdin pipe. However, reading
from cat hangs unless I first close the stdin pipe.
<?php...
|
by: Christian Hammers |
last post by:
Hello
I would like to call a unix shellscript from within a PHP script and
- write data to its STDIN
- read data from its STDOUT *and* STDERR
- get its exit code afterwards
proc_open seems...
|
by: Muffinman |
last post by:
Howdy,
For a script I need the exact output of the apache htdbm.exe to a var so
I can extract all users from a database. Now I found out that this can
be done with Proc_open. I got this script...
|
by: razorfold |
last post by:
Hi,
I've been trying to run gpg through proc_open() and have failed all
weekend. I keep getting this error from stderr:
"/usr/bin/gpg: error while loading shared libraries: cannot restore...
|
by: arielCo |
last post by:
Hello,
I'm attempting to use proc_open to launch, control and log CLI
applications from my scripts, but my first tests are disheartening:
<pre>
<?php
$descriptorspec = array(
0 =>...
|
by: kimonp |
last post by:
I am running on windows XP with a fresh install of wamp5 (1.7.2) and mediawiki.
I am trying to call a perl function from within php using proc_open.
The perl script is being executed and...
|
by: Daniel Klein |
last post by:
Without getting into a lot of unnecessary detail, I'm working on a project
to allow PHP to communicate with a proprietary database.
The IPC mechanism I'm using is 'proc_open'; there is a...
|
by: sakismat |
last post by:
please help
how can I get stderr from processes ($proc) in my screen
without waiting the other processes to end
#!/usr/bin/php
<?php
$con = mysql_connect("localhost", "user");
if (!$con)
|
by: xhe |
last post by:
I am using ffmpeg to convert video, this is a sample script:
$str='/home/transla1/bin/ffmpeg -i /home/transla1/public_html/
cybertube/web/uploads/video/31_AK000005.AVI -s 240x180 -b 100k -ar...
|
by: YasirHussain |
last post by:
hi!
i want to execute a python script from php through proc_open() function of php.. i read a fine tutorial at ...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|