On Thursday 28 March 2002 15:03, Dalton Hunter wrote:

> them in Textpad afterward. For example the script contains ...
>
> <?php
>
> // BEGIN PHP SCRIPT THAT GENERATES SHELL SCRIPT
>
> $sbackup = "#!/bin/sh

Do you actually terminate each line of your shell script with \n?

ie shouldn't that be:

$sbackup = "#!/bin/sh\n ... 

??


> sh: ./shell_script: No such file or directory

Have you tried

  cat shell_script

to see whether it 'looks' ok?


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
Of course a platonic relationship is possible -- but only between
husband and wife.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to