i know that

$localfile = $_FILES['media']['tmp_name'];

will get the image given that the POST method was used. I am trying to read an image which is in the same directory as my code. How do i read it and assign it to a variable like the one above?

Edit
Report