Ok..
$current.xml is the file that get generated right before this curl stuff at the end of the script.
So, here's how I wrote it:
$xml_file = '/home/mortgag/public_html/xml/output/$current.xml';
$command = 'curl -F uploadfile=@'.$xml_file.' https://www.WhereTheFileIsGoing.aspx';
$output = $command;
if (is_array($output)) {
$output = implode('<br>',$output);
}
echo $output;
Now...I'm not sure what's happening as I keep getting a blank return when the script finishes.
Does the file I'm uploading have to be pointed to by an absolute server path, or only the absolute web path?
The server I'm sending this file to is supposed to spit back an XML file, but I keep getting a blank page.
Any ideas what's going on? Is there a way for me to tell what's going on to debug this thing?
Thanks again for everything.