These functions are used to upload and download files over HTTP. It opens socket connection to the remote host and make HTTP requests. Use these functions to easily upload and download files within your PHP code.
Features:
Usage:
1. download file http://www.example.com/path/spec.pdf and save to C:/tmp/spec_local.pdf
Listing 1: download.php
2. Simulate HTML form to upload a file
Listing 2: upload.php
Jack on Jul 20, 2008:
blH on Oct 28, 2008:
Nash on Oct 29, 2008:
le3on9 on Feb 10, 2009:
Nash on Feb 10, 2009:
ghprod on Mar 14, 2009:
ghprod on Mar 16, 2009:
Nash on Mar 16, 2009:
mahfooz on May 16, 2009:
Nash on May 17, 2009:
Nash on Jun 24, 2009:
| Tel. | +62 31 8662872 +62 856 338 6017 |
| ICQ | 489571630 |
| Skype | dede_bl4ckheart |
| Yahoo | dede_bl4ckheart |
| nashruddin.amin |
Alexei Korolev on Jun 17, 2008: