Wei, Alice J. wrote:
Hi,
for ($i=1; $i <= 3; $i++) {
echo $i . ": " . $lines4[$i] . "\n";
list($words, $file) = explode(" ", $lines4[$i]);
$carriage= array("\r\n", "\r", "\n");
str_replace($carriage, "", $lines4[$i]);
echo "File: $file has $words words\n\n";
$query3="INSERT INTO youtoo(Descript
she resolved issue yesterday by changing line:
str_replace($carriage, "", $lines4[$i]);
to
$lines4[$i] = str_replace($carriage, "", $lines4[$i]);
-Original Message-
From: M. Sokolewicz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2008 5:10 AM
To: Wei, Alice J.
Cc: Zephaniah ha L
Hi,
I am wondering if anyone on this list has made attempts of executing shell
scripts using PHP.
Here is the code:
So far, the actual program is something simple that prints out Hello, World.
I have tried using
// create a new cURL resource
$ch = curl_init();
// set URL and other ap