I have the following code:
mysqli_stmt_bind_param accepts variables (by reference). You cannot use literals. Change your code to
$fileSize = 123; $stmt->bind_param('ssi', $string1, $string2, $fileSize);