Jump to content

brizey882

New Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About brizey882

  • Rank
    Newbie

Profile Information

  • Gender
    Not Telling
  1. I'm having a bit of trouble with my code the first shell_exec works ($output = shell_exec("sudo alpr -c us $uploadfile") but the 2nd (echo exec("exiftool -r -if '$gpsdatetime' -fileOrder gpsdatetime -p /var/www/html/uploads/intel.flt -d current $uploadfile > $uploadfile.php") fails <?php $uploaddir = '/var/www/html/uploads/'; $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); echo "<p>"; if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { echo "Processed \n"; } else { echo "Upload failed"; } echo "The file ". basename( $_FILES['userfile']['name']). " has been uploaded"; $output = shell_exec("sudo alpr -c us $uploadfile"); echo "<pre>$output</pre>"; echo exec("exiftool -r -if '$gpsdatetime' -fileOrder gpsdatetime -p /var/www/html/uploads/intel.flt -d current $uploadfile > $uploadfile.php"); ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.