Home > Article > Backend Development > PHP avatar upload
Hee hee hee, since Christmas, I have been lazy. Because of being too busy these days, I feel that I haven’t come out for a long time, eh ...
I have been struggling for life. As a front-end development engineer, I am becoming more and more confused. I don’t know who I am now.
Will html5 and css3 be the front end?
Do you know PHP as a front-end?
Will smarty be the front end?
Do you know JavaScript as a front-end?
Do you know jQuery is the front-end?
Does Ajax work as a front-end?
是 Will various frameworks are the front end?
are now increasingly felt that I am not a front-end person anymore. I have learned a lot and used it in various ways. Is this the fate of the front-end?
Website front-end:
For a website, the front-end usually refers to the front-end part of the website including the presentation layer and structural layer of the website. Therefore, front-end technology is generally divided into front-end design and front-end development. Front-end design can generally be understood as the visual design of the website, and front-end development is the front-end code implementation of the website, including basic HTML, CSS and JavaScript/ajax. Now the latest advanced version is HTML5, CSS3, and SVG, etc.
I recently came into contact with some PHP stuff and it feels pretty good, so I’d better share it with you!
php avatar upload:
1, html
<span><</span><span>html</span><span>></span> <span><</span><span>head</span><span>></span> <span><</span><span>title</span><span>></span>图片上传<span></</span><span>title</span><span>></span> <span><</span><span>style </span><span>type</span><span>="text/css"</span><span>></span><span> body </span><span>{</span><span>font-size</span><span>:</span><span> 14px</span><span>;</span><span>}</span> <span></</span><span>style</span><span>></span> <span></</span><span>head</span><span>></span> <span><</span><span>body</span><span>></span> <span><</span><span>form </span><span>enctype</span><span>="multipart/form-data"</span><span> method</span><span>="post"</span><span> name</span><span>="upform"</span><span>></span><span> 上传文件: </span><span><</span><span>input </span><span>name</span><span>="upfile"</span><span> type</span><span>="file"</span><span>></span> <span><</span><span>input </span><span>type</span><span>="submit"</span><span> value</span><span>="上传"</span><span>><</span><span>br</span><span>></span> <span></</span><span>form</span><span>></span>