Re: [PHP] CLI script & exec() - how to control what gets dumped on the screen.



clive wrote:
Jochem Maas wrote:
I have been trying to figure out how to use exec to run some commandline
scripts (some perl scripts & mysql in this case) WITH the output of
the commands
run via exec being shown on the screen.

have you tried shell_exec ?

no - but that's because it doesn't do what I want/need - I want to gather
all the output and the exit code of the called script.

nonetheless thanks for your input :-)
(I fixed the problem with the help of 2 other list members btw)


clive

.



Relevant Pages

  • php mysql problem
    ... i recently upgraded from fedora core 5 to cent os 4.4 with php 4.3 ... called specific entries from mysql are no longer working ... my code to display the entry looks like ... write all of my scripts ...
    (php.general)
  • Re: Converting from FM 9 to MySQL and keep both
    ... Here it is the starting point: Clinical research DB in FM 9 adv and FM ... Build another DB in MySQL, ... if you want server to execute anything in the way of scripts, make sure EVERY script step is web compatible. ...
    (comp.databases.filemaker)
  • Table and PHP scripts for existing data
    ... I've been using MySQL for several months and enjoyed great success ... when installing other people's scripts to databses I make using ... My challenge is developing from scratch the scripts, ... Dealers that I want to install in MySQL at www.securitydealers.com ...
    (comp.lang.php)
  • Re: su command problem
    ... it goes to a command ... startup scripts for various programs read up when they need it. ... Those scripts will be run in roughly 'sort' order. ... > the mysql account and is supposed to run a command and ...
    (freebsd-questions)
  • Re: php scripts no longer working after upgrade
    ... and all of the php scripts i had which ... called specific entries from mysql are no longer working ... write all of my scripts ... or signal apache after ...
    (comp.lang.php)