Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2008
    Posts
    92
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Can I use PECL with a free host?

    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

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    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.
    OracleGuy

  • Users who have thanked oracleguy for this post:

    spetsacdc (07-06-2008)

  • #3
    New Coder
    Join Date
    Mar 2008
    Posts
    92
    Thanks
    19
    Thanked 0 Times in 0 Posts
    Ok thanks, I guess I'm out of luck then.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •