Re: [PHP] Shell question.

2003-09-10 Thread murugesan
use ; at the end of print $sysnew = `echo $system | awk -F. '{ print; $1 }'` ; -Murugesan - Original Message - From: "Sethi, Samir (IDS DM&DS)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 11, 2003 12:31 AM Subject: [PHP] She

[PHP] Shell question.

2003-09-10 Thread
Anyone had a chance to look at this. Been trying different combinations, doesn't appear To work. Thanks. -Original Message- From: Sethi, Samir (IDS DM&DS) [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 1:07 PM To: '[EMAIL PROTECTED]' Subject: [

[PHP] Shell question.

2003-09-10 Thread
Another shell question - $system is set to eq-cca-u1.etsd.ml.com , Running the commands below should give sysnew as eq-cca-u1 , stripping out the etsd.ml.com. $sysnew = `echo $system | awk -F. '{ print $1 }'` ; echo "sysnew = $sysnew " ; However the echo statement returns sysnew as eq-cca-u1

RE: [PHP] php/shell question...

2002-07-18 Thread Jay Blanchard
[snip] I know that it's pretty easy for a shell script to call a php page to do something. What's the best way to have a php page call a shell script? I'm trying to automate the creation of directories with certain files in them (people creating their own temporary websites..), and figured a sim

[PHP] php/shell question...

2002-07-18 Thread Kelly Meeks
I know that it's pretty easy for a shell script to call a php page to do something. What's the best way to have a php page call a shell script? I'm trying to automate the creation of directories with certain files in them (people creating their own temporary websites..), and figured a simple sh