In the second part of the class we looked at the php file upload code found on w3schools. The code i uploaded here is fully functioning and works. I had it set up to save in an uploads folder in my htdoc file in xampp on pc side.
this piece of code here:
error_reporting(E_ALL ^ E_STRICT);
(gets rid of any errors that may occur when running the code and in w3schools there is a piece of code within the suggested code for size but because its giving so may errors for students i removed it to make the code work.)
next week we will be doing cookies.
No comments:
Post a Comment