![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: file, php, upload |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |
| |||
| You've got a form with Code: <input type="file" name="file"> |
| ||||
| Quote:
for example:PHP Code: please give me some example, prob help me better thx a lot guys... |
| ||||
| The only thing I know about uploading is at the following: PHP File Upload just thought I would state my thoughts... |
| ||||
| Quote:
that's because you don't know it, that's why you said that's the only thing that you know about uploading. I'm giving you example from that website too.. omg... |
| ||||
| I am 99% sure that line checks for an error within the file, for PHP to do something as its server side the file must first be uploaded, if the file is corrupt it will say that theres an error in the file and why that is so, otherwise its going to show the statistics of the file such as its name/size etc... The name and size and other things like that can be used to make restrictions or checks, like when a file is uploaded if you only want to allow a certain size then you would use that value to compare against the size you want and choose where to go from there. |
![]() |
| Thread Tools | |
| Display Modes | |
| |