pear.module

Events happening in the community are now at Drupal community events on www.drupal.org.
Pear module for Drupal
mepcotterell's picture

PHP Download Commentary

When the Pear module installs, it fetches three files from cvs.php.net: PEAR.php, Archive/Tar.php, and Console/Getopt.php. The reason these files aren't included with the module is because they're licensed under the PHP License and we're not allowed to host stuff that's not licensed under the GPL in the Drupal CVS repositories. When it came time to implement this part of the installation process, I came to a fork in the road.

Traditionally, whenever I wanted to download files using PHP, I used fsockopen() and fopen(), sent the HTTP headers myself, and did the whole read into buffer then write routine. It's not a bad idea. In fact, the go-pear script does just that. However, I came across two other solutions.

Read more
mepcotterell's picture

Pear Module Development Snapshots Available

Nightly development snapshot from CVS branch: HEAD
Download: pear-6.x-0.x-dev.tar.gz
Size: 20.41 KB
md5_file hash: 78379b3c03b6b45211f84fdc50de4efe

Read more
Subscribe with RSS Syndicate content