...

View Full Version : Can I use PECL with a free host?



spetsacdc
07-06-2008, 05:38 AM
Hi, I want to add a progress bar to my file upload, but I have to do something with this PECL:

http://pecl.php.net/package/uploadprogress

I have never used a PECL before...I am currently using freehostia to make a webpage before I actually pay for a host. How do I use this script?

The download contains a .h file, c file, and m4 file. Do I add a line to my php.ini file?

Thanks

oracleguy
07-06-2008, 09:57 AM
That is a PHP extension. You will need to compile it before you can use it with PHP. The config.m4 file is the configuration file that would generate the makefile to compile the code.

If you are on Linux, configure and make are probably already installed. On windows you'd need to download those utilities and a C compiler.

As for using it on your free host, that is a no. You aren't going to be able to install an additional PHP plug-in and configure PHP to load it. You probably wouldn't even be able to do so with paid hosting unless you are on your own server.

spetsacdc
07-06-2008, 04:01 PM
Ok thanks, I guess I'm out of luck then.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum