WIN32 IIS (2003 Server)
I have a basic PHP script that runs fine on IIS to pull an array from an MSSQL DB and use Curl to post to an external server that uses the information from my DB.
I now need to run the script from the CLI to run via the task manager.
Code: Select all
while($row = mssql_fetch_array($result))
{
echo "<li>" . $row["CreatedDate"] . $row["PartNumber"] . $row["Quantity"] . $row["Manufacturer"] . $row["Condition"] . $row["Description"] . $row["Hot"] ."</li>";
require_once('CurlClass.php');
$cc = new cURL();
$cc->post('http://www.blabla.com',part_number=$row["PartNumber"]&quantity=$row["Quantity"]&manufacturer=$row["Manufacturer"]&condition=$row["Condition"]&description=$row["Description"]&hot=$row["Hot"]');
[part_number] => $row[\"PartNumber\"] ....................
Any ideas on what I'm doing wrong here, I have found nothing searching the net.
Thanks...