16 Filing lecture 3 php

227 views
186 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
227
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

16 Filing lecture 3 php

  1. 1. File Handling Copyright © 2012 Muhammad Baqar Qazi.
  2. 2. File Uploading  Input Control For File  <input type=“file” name=“myfile” />  Form attribute:  The enctype attribute specifies how the form-data should be encoded when submitting it to the server.  Note: The enctype attribute can be used only if method="post".  enctype="multipart/form-data"
  3. 3. File Uploading First We need to follow some steps in order to do file uploading. 1.Check For Empty File. 2.Directory exist or Not. 3.File exist or not. 4.File size Restriction. 5.File Extension 6.Move uploaded file.
  4. 4. Questions ?

×