← Back to team overview

sslug-teknik team mailing list archive

Re: Kan PHP afvikle et Shell-script

 

On Fri, 6 Oct 2000, big@xxxxxxxxx wrote:

> 
> Hej 
> 
> Kan man få en php side til at afvikle et shellscript som for 
> eksempel skifter til init 0 

Kig på "system", "passthru" og "exec" i php manualen.

Bemærk dog, at du skal have styr på rettighederne -- normalt er det kun
root, der kan skifte runlevel.

Mads

-- 
Mads Bondo Dydensborg.                               madsdyd@xxxxxxxxxxxx
The point is to decide what your needs are, pick an editor that looks like
it may fit them and then MASTER it. Learn every little nuance and key
stroke. Not just the easy stuff you pick up in an hour or two but especially
the obscure stuff. Learn it so well that your mind can stay about two steps
ahead of hands even when using the arcane commands and keystrokes. Then you
can edit in front of crowds and people will ohh and awe. Source code will
fear you. Project managers will want you. 
                                        - Dana S. Wheeler, M.D. on emacs/vi