I am learning PHP, and I am using pretty much texbook examples but I am getting an error from this code, for the life of me I can see nothing wrong. Please advise 😉
this line is the trouble spot
copy ($http_post_files['uploadedFile']['tmp_name']),
this is the error
Parse error: parse error in /home/users/s/staffing/public_html/p/savefile.php on line 22
full code below
<?
if ($http_post_files['uploadedFile']['size'] <= 0)
{
print "<b>We did not recieve your file<br>";
print "either the file was larger than 2MB or you<br>";
print "did not enter a filename, if you are having<br>";
print "difficulties, or need to send us a file larger<br>";
print "than 2MB contact us at help@whitedotgroup.com<br>";
}
else
{
copy ($http_post_files['uploadedFile']['tmp_name']),
($http_post_files['uploadedFile']['name']);
print "<b> Thank you for sending us your file we will deal with it promplty<br>";
print "-White Dot Group";
}
?>