Howto upload file by PHP

Posted on May 9, 2009. Filed under: PHP |

Howto upload file by PHP

 

  1. Upload by POST

http://us3.php.net/manual/en/features.file-upload.post-method.php

 

  1. Upload multi-files by POST

http://us3.php.net/manual/en/features.file-upload.multiple.php

 

  1. Upload by PUT

http://us3.php.net/manual/en/features.file-upload.put-method.php

 

  1. Other references

http://us3.php.net/manual/en/features.file-upload.php

http://us3.php.net/manual/en/function.move-uploaded-file.php

 

http://us3.php.net/manual/en/reserved.variables.php

http://us3.php.net/manual/en/reserved.variables.globals.php

http://us3.php.net/manual/en/reserved.variables.request.php

http://us3.php.net/manual/en/reserved.variables.server.php

 

http://us3.php.net/manual/en/reserved.variables.files.php

 

Use the function  print_r()  can print out the whole structure of the variable.

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: