MARCELO Posted March 5, 2018 Share Posted March 5, 2018 Hello. I don t want anyone correcting this structure, but could someone tell me what should i rethink at it? I ve read php syntax and similars, but i could not find out what s wrong! So, just a tip on what should i study more would be enough! https://www.w3schools.com/code/tryit.asp?filename=FP36GWXPZB0F Thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted March 5, 2018 Share Posted March 5, 2018 If you are expecting this work in this try it example save code it won't work! why do you think there's no 'edit' or 'run' menu options for php examples. It is trying to decipher it as html, it takes the php code as opening '<' in '<?php' and closing '>' within the if condition 'if ($_FILES["fileToUpload"]["size"] > 500000)' This must be done on your on php mysql localhost or website server folder, which has a folder called 'uploads' which you must create. Link to comment Share on other sites More sharing options...
MARCELO Posted March 6, 2018 Author Share Posted March 6, 2018 ok! got it! Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now